Hey all,
Perhaps this is slightly off topic, and if so, my apologies. I've run into
a bit of a problem trying to compile gcc v2.8.1
I'm currently using v2.7.2.3 After I dl'ed 2.8.1 I ran the configure
for my host with the options:
--prefix=/usr
--build=i586-linux-gnu
--with-gnu-ld
--with-gnu-as
--with-elf
--enable-c-cpplib
--enable-threads=posix
AFAIK this info is correct. I then proceeded to [make LANGUAGES=c];
however, the output always cops out with the following:
gcc -b -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I. -I./config
\
-DGCC_INCLUDE_DIR=\"/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/2.8.1/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\" \
-DOLD_GPLUSPLUS_INCLUDE_DIR=\"/usr/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/2.8.1/sys-include\"
\
-DTOOL_INCLUDE_DIR=\"/usr/i586-pc-linux-gnulibc1/include\" \
-c `echo ./cccp.c | sed 's,^\./,,'`
gcc -b -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I. -I./config -c
./cexp.c
gcc -b -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I. -I./config
version.c
ld: cannot open -lgcc: No such file or directory
make: *** [version.o] Error 1
For whatever reason I *cannot* seem to make the compiler recognize the gcc
libraries. I can't even find
a def for the [-lgcc] in the Makefile. How might I go about correcting this
problem?
Any comments or suggestions are greatly appreciated.
Thanks. Matt
--
[EMAIL PROTECTED]
"i am a .sig virus, please \
put me in your .sig file"