[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] Compiling gm2 on Mac OS X/Darwin
From: |
Eduardo Abela |
Subject: |
[Gm2] Compiling gm2 on Mac OS X/Darwin |
Date: |
Fri, 28 Mar 2003 01:29:45 +0100 |
Hi all,
I'm trying to compile gm2 on Mac OS X Jaguar/Darwin, but the final stage of the
process is failing with the message:
make gm2/pge
cd gm2 ; \
../gm2/boot-bin/mklink -s ../../../gcc-3.2+gm2-20030102/gcc/gm2/init/ppginit ; \
gcc -g -c mod_init.c -o mod_init.o ; \
M2PATH=". gm2-libs-boot gm2-compiler-boot" ; export M2PATH ; \
../gm2/boot-bin/mklink -l -p2c p2c/p2c-src/src/libp2c.a
../../../gcc-3.2+gm2-20030102/gcc/gm2/init/ppginit ; \
/bin/sh linkcommand ; \
rm -f linkcommand ; \
mv a.out ppg
ld: Undefined symbols:
_libc_cfree
__tolower
__toupper
I've tried to make clean after a cvs update, then make again, as suggested in
another message, but the error persists. What else could I check to try to
successfully compile gm2? I'm compiling with gcc 2.95.2 and make CC="gcc2
-no-cpp-precomp', since Apple's gcc chokes on some complex defines in
builtin-attrs.def.
Regards,
Eduardo
- [Gm2] Compiling gm2 on Mac OS X/Darwin,
Eduardo Abela <=