delorie.com/archives/browse.cgi | search |
X-pop3-spooler: | POP3MAIL 2.1.0 b 3 961213 -bs- |
Delivered-To: | pcg AT goof DOT com |
From: | nuke AT bayside DOT net |
X-Authentication-Warning: | nuklear.steelcity.net: nuke owned process doing -bs |
Date: | Sun, 22 Feb 1998 15:25:43 -0500 (EST) |
X-Sender: | nuke AT nuklear DOT steelcity DOT net |
To: | beastium-list AT Desk DOT nl |
Subject: | weird cpp flag bug? also compile problem.. |
Message-ID: | <Pine.LNX.3.96.980222152105.19795A-100000@nuklear.steelcity.net> |
MIME-Version: | 1.0 |
Sender: | Marc Lehmann <pcg AT goof DOT com> |
Status: | RO |
X-Status: | A |
Lines: | 40 |
this is my solution to the cpp thing where we get __ __ __ __'s on cpp's command line during the pgcc compile. i wrote this shell script and made it /usr/local/bin/cpp. /usr/bin/cpp is the real one. #!/bin/sh /usr/bin/cpp $(echo $* | sed 's/ __//g') it just removes the funky __'s, but the compile got cleanly past the point where it was erroring out before. i'm not sure how related this is, but my compile bombed out at another place far after that point: mv tmplibgcc1.a libgcc1.a rm -f g++.c ln -s ./gcc.c g++.c gcc -DIN_GCC -g -O2 -DHAVE_CONFIG_H -DHAIFA -I. -I. -I./config \ -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"pgcc-2.91.08\" -DDEFAULT_TARGET_MACHINE=\"i586-pc-linux-gnu\" -DTOOLDIR_BASE_PREFIX=\"/usr/local/\" \ -DLANG_SPECIFIC_DRIVER \ -c g++.c gcc -c -DIN_GCC -g -O2 -DHAVE_CONFIG_H -DHAIFA -I. -I. -I./config ../cp/g++spec.c gcc -DIN_GCC -g -O2 -DHAVE_CONFIG_H -DHAIFA -o g++ g++.o g++spec.o prefix.o \ version.o choose-temp.o pexecute.o obstack.o ../crtbegin.o: In function `__do_global_dtors_aux': ../crtbegin.o(.text+0x38): undefined reference to `__deregister_frame_info' ../crtbegin.o: In function `frame_dummy': ../crtbegin.o(.text+0x5f): undefined reference to `__register_frame_info' make[1]: *** [g++] Error 1 make[1]: Leaving directory `/usr/src/egcs-980214/gcc' make: *** [all-gcc] Error 2 _ _ __ __ _ _ _ | / |/ /_ __/ /_____ | Nuke Skyjumper | | / / // / '_/ -_) | "Master of the Farce" | |_ /_/|_/\_,_/_/\_\\__/ _|_ nuke AT bayside DOT net _|
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |