This is the mail archive of the gcc-patches@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: PATCH: --with-build-sysroot, et. al.


Geoffrey Keating wrote:
Mark Mitchell <mark@codesourcery.com> writes:


+ The GNU linker (beginning with version 2.16) has the necessary support
+ for this option.  If your linker does not support this option, the
+ header file aspect of @option{--sysroot} will still work, but the
+ library aspect will not.

This is a regression on Darwin; there, -isysroot already passes -syslibroot to the linker.

I didn't change anything about what -isysroot does; if on Darwin it has extra semantics, then it still should. Is that not true?


It seems like it might well be a good idea for Darwin to (a) modify its linker to accept --sysroot along with -syslibroot, and (b) change the configury logic for whether or not the linker supports --sysroot to handle Darwin.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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