* Howard Arons (hlarons@ComCAT.COM) [000214 06:17]:
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
That lib is located in /usr/lib/gcc-lib/i486-linux/2.7.2.3, so that
Excuse me, but for egcs 1.1.2 that is plain wrong! All files for egcs are in /usr/lib/gcc-lib/egcs-2.91.66. Using files from other compiler versions is bound to fail, as they are version specific. Check if the above directory exists and does contain the needed files. If you're using a 2.2.X kernel, delete packages gcc and gccfront and maybe reinstall egcs.
Likewise, add -L directives for the directories that contain libm.a and libc.a to take no chances.
Also wrong. If not linking statically (i.e. -static), ld searches for libc.so and libm.so in the order: specified via -L->/usr/lib->/usr/local/lib. All in all, those things work without any additional work if all necessary packages are installed. Just because I'm curious, what does 'gcc --print-search-paths' print? Philipp -- Philipp Thomas <pthomas@suse.de> SuSE GmbH, Deutschherrenstrasse 15-29, 90429 Nuremberg --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com