gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] MacOS X Woes


From: john o goyo
Subject: [Gm2] MacOS X Woes
Date: Fri, 09 Jul 2004 15:42:18 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Greetings:

Still no joy on MacOS X.  The latest build gave me several errors, to which
the first two I hacked solutions to continue.

The story so far...

Error 1.

gcc  gm2/boot-bin/trans.o gm2/boot-bin/stuff.o gm2/boot-bin/out.o
gm2/boot-bin/comment.o gm2/boot-bin
/lex.o gm2/boot-bin/parse.o gm2/boot-bin/decl.o gm2/boot-bin/expr.o
gm2/boot-bin/pexpr.o gm2/boot-bin
/funcs.o gm2/boot-bin/dir.o -o gm2/boot-bin/p2c
ld: Undefined symbols:
__toupper
make[3]: *** [gm2/boot-bin/p2c] Error 1
make[2]: *** [stage1_build] Error 2

[Corrected by simple hack of adding object module that defines _toupper() in terms of toupper().]


Error 2.
ld: archive: p2c/p2c-src/src/libp2c.a has no table of contents, add one with
ranlib(1) (can't load from it)
failed to link gm2/ppg
make[3]: *** [gm2/ppg] Error 1
make[2]: *** [/Users/build/opt/build.gm2-gcc-3.3.2/gcc/gm2/gm2-auto/P2Build.mod] Error 2
cp: stage1/gm2/cc1gm2: No such file or directory

[Corrected by manually invoking ranlib on p2c/p2c-src/src/libp2c.a.]


rror 3.
if [ -f ` if [ -f /Users/build/opt/build.gm2-gcc-3.3.2/gcc/../binutils/ranlib
] ; then echo /Users/build/opt/build.gm2-gcc-3.3.2/gcc/../binutils/ranlib ;
else if [ "powerpc-apple-darwin7.2.0" = "powerpc-apple-darwin7.2.0" ] ; then
echo ranlib; else t='s,^,powerpc-apple-darwin7.2.0-,'; echo ranlib | sed
 -e $t ; fi; fi` ] || ( [ "powerpc-apple-darwin7.2.0" =
"powerpc-apple-darwin7.2.0" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ;
then ranlib gm2/gm2-compiler-boot/gm2.a ; else true ; fi
make[2]: *** No rule to make target `-liconv', needed by `stage1/gm2/cc1gm2'. Stop.
cp: stage1/gm2/cc1gm2: No such file or directory

[Unable to correct.]


Sincerely,
john



reply via email to

[Prev in Thread] Current Thread [Next in Thread]