Hi folks.

I can't seem to get binutils to build in chapter 6. Everything in chapter 5 appears to have built correctly and the sanity check passed with flying colours. binutils-build/config.log shows the following:

/tools/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../../i686-pc-linux-gnu/bin/ld: line 87: cd: /mnt/lfs/sources/binutils-build/ld: No such file or directory
gcc: ldgram.o: No such file or directory
<snip loads of other missing .o files>

Now, the only odd thing I've noticed is that after building binutils-pass2 in chapter 5, ld-new (which gets copied to /tools/bin/ld then symlinked to /tools/i686-pc-linux-gnu/bin/ld) is a shell script, as opposed to a binary (ld is an ELF binary every other time we build it). It's this shell script that has a hardcoded path to /mnt/lfs/sources in the variable "relink_command" that appears to be causing the problem. Is this intentional, or have I screwed up somewhere?

Regards,

Matt.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to