help needed for builing gcc tool-chain

Ian Lance Taylor iant@google.com
Sun Feb 12 05:54:00 GMT 2012


"Prashant Batra (prbatra)" <prbatra@cisco.com> writes:

> /usr/bin/ld: this linker was not configured to use sysroots

...

> Do, I need to build binutils with sysroot as well, and install it into
> the same prefix?
>

This is necessary if you want to use a sysroot.

> If yes, after building and installing binutils, how do I make use of
> this linker while building gcc?

If you build and install the binutils and gcc with the same --prefix
option, then gcc will use the linker that you built.

Ian



More information about the Gcc-help mailing list