Hi,
I'm trying to port GCL, a COMMON LISP compiler,
ftp://ftp.ma.utexas.edu/pub/gcl/gcl-2.4.0.tgz
I'll use it to build Maxima,
http://www.ma.utexas.edu/users/wfs/maxima.html
sort of a Maple and Mathematica clone.
Unfortunately, my experience with GNU tools is restricted to the
compilation of numerical programs in C and Fortran. So, if you're
interested in one of these packages and want to help me, I'd really
appreciate.
PLEASE, give me a reply if you have any ideas and I apologize for
bothering some of you...
Below is what I've done so far (I know there are easier ways to do it ):
First, edit the "FreeBSD.defs" located at the "<Where you keep GCL>/h"
folder according to Darwin and its compiler (I can send you a copy of
mine.)
In the directory "<where you keep GCL>" type
# ./add-defs FreeBSD
#make -n
and you'll see what steps "make" shall attempt to do
#cd bin
edit "Makefile" according to folders and compiler.
#make
Shouldl run without errors...
#cd..
Now follow " make mpfiles -n ". First,
#cp -v /usr/libexec/con* < Where you keep GCL and path>/gmp
That will replace "config.guess" and "config.sub" in the folder above.
#cd gmp; ./configure
#cd ..
# make mpfiles -k
and you'll get several syntax errors during the compilation of files *.s
( An example:
#cc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_rshift -g -O2
-mpowerpc tmp-rshift.s -o rshift.o )
Finally,
#cd o
Edit Makefile
#make -k
There are 4 files that should be compiled yet...
We could go further, but should heal "make mpfiles" first... I'm sure
that somebody will come up with something that should work.
Thanks,
Lizardo.