[lfs-support] LFS:- Error while compiling GCC (configure-target-libgcc).

Prabhu flyingcolours47 at gmail.com
Sat Nov 24 13:01:36 PST 2012


HI

I'm working on LFS(7.2), I got struck up while compiling GCC. Let me brief
you this. I started with the basic of creating partitions, users and other
things. I successfully configured binutilities and It got compile without
error. In the case of GCC I untared all the three files (mpfr,gmp,mpc) and
I configured as specified in the book, without any error. While compiling
GCC it got compiled for 30 mins and then it throw me an error as.



*checking for i686-lfs-linux-gnu-strip... i686-lfs-linux-gnu-strip
checking whether ln -s works... yes
checking for i686-lfs-linux-gnu-gcc...
/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/
-B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem
/tools/i686-lfs-linux-gnu/include -isystem
/tools/i686-lfs-linux-gnu/sys-include
checking for suffix of object files... configure: error: in
`/mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2*

I need to resolve this please guide me.



My version check
http://pastebin.com/LrBgkxgE

My configlog content
http://pastebin.com/kCy4sBTL






With Regards...
        PRABHU :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20121125/3f588d0b/attachment.html>


More information about the lfs-support mailing list