This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Leveraging gcc in a cross-compilation environment


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?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]