gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Re: [Gcl-devel] native relocation on Mac OS X


From: Aurelien Chanudet
Subject: Re: [Axiom-developer] Re: [Gcl-devel] native relocation on Mac OS X
Date: Wed, 3 Mar 2004 14:14:46 +0100

Hi Peter,

In short, GCL appears to be in a fairly stable state on Mac OS X. I've successfully built Maxima and ACL2. I've never tried to build Axiom, but I see no reasons why this would not work.

In order to build gcl on Mac OS X :

1) Make sure you have gettext installed from Fink :

-bash2.05b /src/src/gcl-2.7.0/o $ fink list | grep gettext
 i      gettext 0.10.40-17      Message localization support
 i      gettext-bin     0.10.40-17      Executables for gettext package
i gettext-dev 0.10.40-17 Developer files for gettext package
        kbabel  3.1.4-21        KDE - edit and manage gettext PO files

2) Apply the patches below : there's a small issue in CVS head with the latest binutils at the moment.

3) At your option, you can try out one of the following :

./configure
./configure --disable-locbfd --enable-custreloc

Please, tell me how this goes ! I'll try building Axiom for you and will report about my result.

Aurelien

---

Index: sfasli.c
===================================================================
RCS file: /cvsroot/gcl/gcl/o/sfasli.c,v
retrieving revision 1.17
diff -u -r1.17 sfasli.c
--- sfasli.c    27 Feb 2004 23:53:27 -0000      1.17
+++ sfasli.c    28 Feb 2004 22:04:51 -0000
@@ -81,11 +81,11 @@
FEerror("Symbol ~S is missing section",1,make_simple_string(q[u]->name));
       if (q[u]->value || q[u]->flags != BSF_FUNCTION)
        h->u.def.value=q[u]->value+q[u]->section->vma;
-      else if (!my_plt(q[u]->name,&pa)) {
+      else /*if (!my_plt(q[u]->name,&pa)) {
        printf("my_plt %s %lu\n",q[u]->name,pa);
        h->u.def.value=pa+q[u]->section->vma;
-      } /* else */
-/*     printf("missing %s\n",q[u]->name); */
+      } else */
+    printf("missing %s\n",q[u]->name);
       h->u.def.section=q[u]->section;
     }


Index: makefile
===================================================================
RCS file: /cvsroot/gcl/gcl/o/makefile,v
retrieving revision 1.32
diff -u -r1.32 makefile
--- makefile    27 Feb 2004 23:43:35 -0000      1.32
+++ makefile    28 Feb 2004 22:03:58 -0000
@@ -88,7 +88,7 @@

OBJECTS:=$(OBJS) $(LIBFILES) new_init.o $(GCLIB) $(LAST_FILE) $(FIRST_FILE)

-all:  $(OBJECTS) plt.o
+all:  $(OBJECTS) # plt.o

 go:
        $(MAKE) "CFLAGS=${CFLAGS} -pg"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]