Re: Leveraging gcc in a cross-compilation environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux