This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Replace -isysroot with --sysroot?
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: mrs at apple dot com
- Cc: hans-peter dot nilsson at axis dot com, gcc at gcc dot gnu dot org
- Date: Wed, 1 Dec 2004 22:34:08 +0100
- Subject: Re: RFC: Replace -isysroot with --sysroot?
> 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