Leveraging gcc in a cross-compilation environment
Philip A. Prindeville
philipp_subx@redfish-solutions.com
Wed Jan 13 21:38:00 GMT 2010
On 01/12/2010 02:04 PM, Ian Lance Taylor wrote:
> "Philip A. Prindeville" <philipp_subx@redfish-solutions.com> writes:
>
>> I have to say, the overloading of '=' *plus* the fact that some arguments use '=' (like --sysroot=) while others don't (-isystem xxx) is confusing.
>
> Yes.
>
>> Ok, what about how 'ld' interprets --sysroot? If I have "ld --sysroot /xyzzy -L/a/b/c" will it look in /xyzzy/a/b/c?
>
> No. ld uses --sysroot for very few things, really just to set the
> default library search path. Generally the compiler passes the
> library paths to search as -L options.
>
> Ian
Any chance of filing an enhancement request that -L =path expand to -L <sysroot>/path?
More information about the Gcc-help
mailing list