[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] mac os x port questions
From: |
Lars Rosengreen |
Subject: |
Re: [Gcl-devel] mac os x port questions |
Date: |
Fri, 13 Feb 2004 15:26:42 -0800 |
Hi Aurelien,
Adding GCL to Fink is something I was planning, but this is a bit
premature in my opinion. At present, there is one touchy issue :
dynamic code loading. GCL uses BFD for this. As you know, BFD is at
the core of the GNU toolchain. Although broadly used in the Unix
world, it's not officially supported for Mac OS X --- the BFD Mach-O
back-end is not fully functional. Therefore, I worked on this back-end
so as to add the missing functionalities. The bulk of the work is
done. However, I haven't found the time to contribute the code back to
the FSF yet. Neither have I found the time to add my patches to GCL's
local BFD tree. GCL is configured to use GCL
Ok. When you feel the mac port is ready, I would be more than happy to
write an ".info" file for it, and do what I can to get it into fink, if
you don't have the time to do this.
Alternatively, there's the dlopen workaround (--disable-statsysbfd
--enable-custreloc), which does not really satisfy me, but which does
work for Mac OS X.
If it is possible to do useful things with the mac port right now, such
as build/use maxima, acl2 and axiom, I would suggest that maybe it is
ready for fink.
Anyway, to get you running : have a look at
http://mail.gnu.org/archive/html/gcl-devel/2003-10/msg00156.html
and JUMP DIRECTLY TO STEP 4.
Ok, starting at step 4:
using cvs head from 11:00 am PST
I did the following:
$ export PATH=/sw/bin:/sw/sbin:/usr/local/bin:$PATH # I don't think
these are actually
$ export MACOSX_DEPLOYMENT_TARGET=10.2 # necessary anymore with 10.3
$ export LIBRARY_PATH=/sw/lib
$ export C_INCLUDE_PATH=/sw/include
$ export CPPFLAGS="-no-cpp-precomp"
$ ./configure --enable-machine=powerpc-macosx --enable-debug \
--disable-statsysbfd --enable-custreloc
$ make
make stops here:
rm -f o/cmpinclude.h ; cp h/cmpinclude.h o
(cd o; make all)
gcc -no-cpp-precomp -c -g -Wall -DVOL=volatile -fsigned-char
-fwritable-strings -pipe -g -I/Users/lars/gcl/o -I../h -I../gcl-tk
main.c
main.c: In function `initlisp':
main.c:481: warning: implicit declaration of function
`gcl_init_socket_function'
gcc -no-cpp-precomp -c -g -Wall -DVOL=volatile -fsigned-char
-fwritable-strings -pipe -g -I/Users/lars/gcl/o -I../h -I../gcl-tk
alloc.c
gcc -no-cpp-precomp -c -g -Wall -DVOL=volatile -fsigned-char
-fwritable-strings -pipe -g -I/Users/lars/gcl/o -I../h -I../gcl-tk
gbc.c
In file included from gbc.c:1490:
sgbc.c: In function `memprotect_test':
sgbc.c:1114: error: `MPROTECT_ACTION_FLAGS' undeclared (first use in
this function)
sgbc.c:1114: error: (Each undeclared identifier is reported only once
sgbc.c:1114: error: for each function it appears in.)
make[1]: *** [gbc.o] Error 1
make: *** [unixport/saved_pre_gcl] Error 2
kinkajou:~/gcl lars$
any suggestions? thank you very much for taking the time to help me
with this.
have a nice weekend!
-Lars Rosengreen
- [Gcl-devel] mac os x port questions, Lars Rosengreen, 2004/02/11
- Re: [Gcl-devel] mac os x port questions, Aurelien Chanudet, 2004/02/12
- Re: [Gcl-devel] mac os x port questions, Aurelien Chanudet, 2004/02/13
- Re: [Gcl-devel] mac os x port questions, Aurelien Chanudet, 2004/02/13
- Re: [Gcl-devel] mac os x port questions, Aurelien Chanudet, 2004/02/14
- Re: [Gcl-devel] mac os x port questions, Aurelien Chanudet, 2004/02/14
- Re: [Gcl-devel] mac os x port questions, Aurelien Chanudet, 2004/02/14
- Re: [Gcl-devel] mac os x port questions, Aurelien Chanudet, 2004/02/15