On Sun, 6 Dec 1998, Simon Karpen wrote:
It appears that you installation of g++ from egcs is broken.
Basically, it appears that the egcs compiler is trying to use gcc 2.7.2's header files, and also can't find crtbegin.o (i.e. no C++ program can link)
slk@karpes:/home/slk > g++ -v -o hello hello.C Using builtin specs. gcc version egcs-2.91.59 19981124 (egcs-1.1.1 pre-release #3) (this message is from /usr/bin/g++ ) cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -D__ELF__ -Dunix -Di386 -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(posix) -D__EXCEPTIONS -Asystem(unix ) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di486 -D__i486 -D__i486__ hello.C /tmp/cccHsV6c.ii GNU CPP version 2.7.2.3 (i386 Linux/ELF)
It is a problem of the installation that I've almost fixed. You have gpp from egcs installed, but there is a complete gcc-2.7.2.x package (installed as gcc). To get the compiler working correct (excuse my english) remove the gcc package install the egcs package and (to make sure) reinstall gpp. this message comes from /usr/lib/gcc-lib/i486-linux/gcc-2.7.2.3/specs hoping to be helpful, mit freundlichen Gruessen (with kind regards), Ruediger Oertel (ro@suse.de) ----------------------------------------------------------------- :-)) The perfect BIOS-Setup: Chipset -> IDE -> Disable_All :-)) ----ALWAYS REMEMBER: WHATEVER I SAY, IT'S MY PERSONAL OPINION---- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>