"Philip A. Prindeville" <philipp_subx@xxxxxxxxxxxxxxxxxxxxx> writes: > On 01/12/2010 02:04 PM, Ian Lance Taylor wrote: >> "Philip A. Prindeville" <philipp_subx@xxxxxxxxxxxxxxxxxxxxx> 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? Actually, now that I look at the linker code, I think that already works. Ian