[Top][All Lists]
[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: |
Camm Maguire |
Subject: |
Re: [Axiom-developer] Re: [Gcl-devel] native relocation on Mac OS X |
Date: |
08 Mar 2004 07:32:07 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings! I had to rework the plt code a bit yet again to be able to
work nicely with compiler::link, needed in a variety of situations.
If there are any compile issues "out of the box" on any non-Linux
platform, please let me know. I'd like to eliminate any required
platform specific patches.
BTW, the plt table when available can now be accessed via lisp through
si::*plt-table*. I'm leaving it in the final image, as one could
conceivably modify it if needed and run si::build-symbol-table again.
Take care,
Aurelien Chanudet <address@hidden> writes:
> 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"
>
>
>
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah