[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: |
Thu, 12 Feb 2004 12:22:20 -0800 |
Hi Camm, thanks for the help.
On Feb 12, 2004, at 7:15 AM, Camm Maguire wrote:
Greetings! 2.6.1 should build out of the box on macosx. If not,
please let us know. You can get it at
export CVS_RSH=ssh
export CVSROOT=:ext:address@hidden:/cvsroot/gcl
cvs -z9 -q co -r Version_2_6_1 -d gcl-2.6.1 gcl
I'm hoping configure will choose the right defaults for you, but if
memory serves you want --disable-statsysbfd --enable-custreloc.
I have not been able to get 2.6.1 from CVS to build following
Aurelien's instructions here:
http://mail.gnu.org/archive/html/gcl-devel/2003-11/msg00075.html
./configure --disable-statsysbfd --enable-custreloc
--enable-machine=powerpc-macosx
make
make churns along for quite a while, but something goes wrong here:
ranlib .libs/libgmp.a
creating libgmp.la
(cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la)
touch gmp_all
rm -f o/cmpinclude.h ; cp h/cmpinclude.h o
(cd o; make all)
gcc -c -Wall -DVOL=volatile -fsigned-char -fwritable-strings -pipe -O3
-fomit-frame-pointer -I/Users/lars/gcl-2.6.1/o -I../h -I../gcl-tk
main.c
main.c: In function `main':
main.c:164: error: `a_' undeclared (first use in this function)
main.c:164: error: (Each undeclared identifier is reported only once
main.c:164: error: for each function it appears in.)
main.c:164: error: parse error before "do"
main.c:164: error: `PATH_MAX' undeclared (first use in this function)
main.c:164: error: `NXArgv' undeclared (first use in this function)
main.c:125: warning: unused variable `rl'
main.c:164: warning: unused variable `q'
main.c:164: error: storage size of `q' isn't known
main.c: At top level:
main.c:164: error: parse error before "while"
main.c:178: error: parse error before '[' token
(many similar lines)
main.c:403: warning: `initlisp' defined but not used
main.c:779: warning: `multiply_stacks' defined but not used
{standard input}:29:FATAL:Symbol _initflag already defined.
make[1]: *** [main.o] Error 1
make: *** [unixport/saved_pre_gcl] Error 2
kinkajou:~/gcl-2.6.1 lars$
any suggestions? I can't get cvs head to build either. This is on mac
osx 10.3.2 with gcc 3.3
Please let us know. YOu might want to search through the archives for
Aurelien's posts. Others have written about building acl2/gcl on
macosx as well -- should be all recorded in the archives, but I'm a
bit too pressed for time now to search myself.
I can't find anything more recent than Aurelien's message from
November I referenced above. I suspect some of the older information
is out of date now.
Thanks,
Lars Rosengreen