Chakkaradeep C C wrote:
Hi all,
Am using FC4 as my base distro.So i started with Chapter 5, where i
installed Binutils as per LFS book and then started configuring GCC.But
i am getting this error...
/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.
Any idea why am getting this error?
Thanks in advance..
Thanks and Regards,
C.C.Chakkaradeep
FC4 is not usable as a host system for building LFS stable. Please use a
different host system.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page