Hi all,
I am trying the LFS6.1.1 and facing an error in building gcc. I could
succesfully build the binutils.
I am getting the following err:
/mnt/lfs/sources/gcc-3.4.3/configure --prefix=/tools
--libexecdir=/tools/lib --with-local-prefix=/tools --disable-nls
--enable-shared --enable-languages=c
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
*** This configuration is not supported in the following subdirectories:
target-libstdc++-v3 target-libf2c target-libffi target-boehm-gc
target-zlib target-libjava zlib fastjar target-libobjc
(Any other directories should still work fine.)
/tools/bin/ld:/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../libc.so: file
format not recognized; treating as linker script
/tools/bin/ld:/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../libc.so:5:
syntax error
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
I am on :Fedora Core 4 with gcc 4.0.0
Linux lfs 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386
GNU/Linux
If anyone can give any pointers, that would be fine.
Sincere thanks
sudhindra
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page