This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: isysroot and various headers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]