RFC: Replace -isysroot with --sysroot?
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Wed Dec 1 21:34:00 GMT 2004
> From: Mike Stump <mrs@apple.com>
> Date: Wed, 1 Dec 2004 12:27:17 -0800
> On Dec 1, 2004, at 10:20 AM, Hans-Peter Nilsson wrote:
> > So, can we add --sysroot, to affect the search paths as the
> > configure-option --with-sysroot=... does, but as a compile-time
> > option.
>
> How is this different than what we already do when the compiler is run
> from an alternate place?
I'm reading your question differently this time so I'm answering
again. :-)
Aside from the conceptual difference, the actual difference
would be that the suggested --sysroot= only affects the
target-specific bits, i.e. not cc1 and other host-executables.
brgds, H-P
More information about the Gcc
mailing list