On 8/4/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:

/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.

The problem is that ld from the binutils you just built isn't working.
IIRC, this was a problem with binutils-2.15.94.0.2.2 on newer Fedora
systems. So, it could be difficult to get LFS-6.1.1 working on your
FC4 system.

Fortunately for you, a new stable version of LFS was just released
where this isn't a problem anymore.

http://www.linuxfromscratch.org/lfs/view/stable/

Sorry if that means duplicating some effort. In the long run, this
will be the best path forward, though.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to