On Wed, 14 Dec 2005, Justin wrote:

Hi,

I am attempting to run through the cross lfs book and have hit a problem compiling GCC-4.0.2 in chapter 6.4.

 Some people might prefer that you ask this on cross-lfs.

this is the output i receive around 10 minutes into the command

make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \
LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld" [...blah...]

echo timestamp > s-gtyp-gen
build/genmddeps ../../gcc-4.0.2/gcc/config/i386/i386.md > tmp-mddeps
/bin/sh: build/genmddeps: cannot execute binary file
make[1]: *** [s-mddeps] Error 126
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2

Then it exits. I have looked through the FAQ, searched the mailing list archive and even gone on IRC (no-one there) and had no success with this problem. Google also offered nothing.

As far as i am aware I have followed the book acurately and until this point had no trouble. Not sure if it may be that the genmddeps has compiled as a 64-bit program (I am using a Yoper 32-bit linux as host).

Any help would be greatly appreciated, Thanks in advance

Justin Whelan


Which particular version of the CLFS book are you following (probably x86_64, but which date, and Multilib or Pure-64 ?

What are your current values for LFS_HOST and LFS_TARGET ?

Ken
--
 das eine Mal als Tragödie, das andere Mal als Farce
-- 
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