gcc-3.2 build fails with ld error

Chris Lingard chris at stockwith.co.uk
Mon Jan 20 04:48:54 PST 2003

Greg Schafer wrote:

 Chris, sorry to butt in here. But in my experience gcc doesn't look at the
> path for the binutils (at least during the configure stage).
> A more surefire way around this problem is to use the new method currently
> in LFS cvs.
> Just simply add:-
>     --with-as=$LFS/static/bin/as \
>     --with-ld=$LFS/static/bin/ld
> to the gcc configure line. That way all the gcc feature tests for
> assembler and linker pass properly and the new binutils get used during
> the gcc build.

Hey, thats clever.  Saves loads of time too.

Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list