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: rsandifo at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 1 Dec 2004 23:39:36 +0100
- Subject: Re: RFC: Replace -isysroot with --sysroot?
> From: Richard Sandiford <rsandifo@redhat.com>
> Date: Wed, 01 Dec 2004 22:12:24 +0000
> 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...
Wonderful! I don't have to do anything! :-)
> > Is this acceptable for 4.0?
>
> ...would be "no". The patch affects the linker too btw.
But surely only when the --sysroot option is given?
Brgds, H-P