LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   5.4. GCC-4.0.3 - Pass 1 compilation error :( (https://www.linuxquestions.org/questions/linux-from-scratch-13/5-4-gcc-4-0-3-pass-1-compilation-error-575190/)

gothicbob 08-06-2007 04:04 PM

5.4. GCC-4.0.3 - Pass 1 compilation error :(
 
Ive tried googling for anyone who has the same error, and I can find a few people who have, but nothing that relates to LFS or anything relevant.

I have compiled the binutils, and have just tried to compile the gcc for the first pass, but I get this error

Code:

/lib64/libc.so.6: file not recognized: File format not recognized
and it errors out. Ive tried it a few times, and im a bit stumped. Thanks for any help.

weibullguy 08-06-2007 05:21 PM

Looks like you're using an x86_64 system for the host. Don't use LFS, use CLFS http://cross-lfs.org/view/1.0.0/ (I recommend you use the multilib version).


All times are GMT -5. The time now is 08:53 AM.