This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: isysroot and various headers
- From: Daniel Jacobowitz <drow at false dot org>
- To: Devang Patel <dpatel at apple dot com>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Mon, 3 Jan 2005 20:48:40 -0500
- Subject: Re: isysroot and various headers
- References: <361990EA-5DED-11D9-8D0A-000393A91CAA@apple.com>
On Mon, Jan 03, 2005 at 05:08:58PM -0800, Devang Patel wrote:
> Few weeks ago there was one discussion about isysroot. It allows user
> to supply set of include headers some where else (other than
> /usr/include). We have a requirement that requires compiler to find ALL
> headers (including compiler headers) in isysroot path. Which means a
> patch like following is needed. Does it match isysroot's intended use?
> If yes, I'll schedule it for 4.1.
No, definitely not. This will break all sorts of normal setups, i.e.
anything where the default configuration has a sysroot.
--with-sysroot=/prefix/sys-root would cause /prefix/lib/gcc/..../include
to look for /prefix/sys-root/prefix/lib/gcc/..../include.
I think you need to describe your "requirement" a bit better. Maybe
you should be setting -iprefix too.
--
Daniel Jacobowitz