Le 04/04/2013 23:05, Alex Stefan Kaye a écrit :
> Hi all,
>
> I've just started my LFS journey, and I've hit upon a problem when 
> running configure during binutils pass 2. I've not deviated from the 
> book at all (discounting any mistakes I've not noticed - it's late 
> here, but I've been careful).
>
> The error:
> checking for C compiler default output file name...
> configure: error: in `/mnt/lfs/sources/binutils-build':
> configure: error: C compiler cannot create executables
>
 From your config.log:

configure:3767: checking for gcc
configure:3783: found /usr/bin/gcc

configure should find x86_64-lfs-linux-gnu-gcc!

Have you typed the three lines:
CC=$LFS_TGT-gcc                \
AR=$LFS_TGT-ar                 \
RANLIB=$LFS_TGT-ranlib         \

before configure?

Or Maybe $LFS_TGT is not set correctly.

Pierre

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