This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Replace -isysroot with --sysroot?
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 01 Dec 2004 22:12:24 +0000
- Subject: Re: RFC: Replace -isysroot with --sysroot?
- References: <200412011820.iB1IKgXb028793@ignucius.se.axis.com>
Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
> So, can we add --sysroot, to affect the search paths as the
> configure-option --with-sysroot=... does, but as a compile-time
> option.
FWIW, I have a patch to do this, but I've been sitting on it
because I assumed the answer to this...
> Is this acceptable for 4.0?
...would be "no". The patch affects the linker too btw.
Richard