This is the mail archive of the
mailing list for the GCC project.
Re: [MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Ranjit Mathew <rmathew at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, dannysmith at clear dot net dot nz
- Date: Fri, 02 Jun 2006 12:22:53 -0700
- Subject: Re: [MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix
- References: <448057B4.email@example.com>
Ranjit Mathew wrote:
> After Mark's patch in:
Sorry, I got these messages out of order. Now, I understand what you
were asking about.
> So I propose that MinGW's NATIVE_SYSTEM_HEADER_DIR be
> set relative to its configured prefix as shown by the
> attached patch.
That doesn't make sense to me. There's no guarantee that the MinGW
headers are in the same location as the compiler; if your MinGW headers
are in /mingw/include, you can still install the compiler in /usr/local.
On most systems, the system header directory is a constant; if it's
not, for MinGW, then I think you need a new configure option.
(Of course, if users are free to put the MinGW headers wherever they
like, then if you ship compiler binaries to someone, you can't know
where they may have put the headers. So, I would expect people would
need to use -isystem in that situation.)
(650) 331-3385 x713