This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix
- From: Danny Smith <dannysmith at clear dot net dot nz>
- To: 'Bob Rossi' <bob_rossi at cox dot net>, 'Ranjit Mathew' <rmathew at gmail dot com>
- Cc: 'GCC Patches' <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 19 Dec 2006 18:27:58 +1300
- Subject: RE: [MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix
Bob Rossi
Tuesday, 19 December 2006 2:15 a.m.
> Hi Ranjit,
>
> Thanks for your response. It doesn't look like Danny was building a
> relocatable gcc for mingw. It doesn't seem like anyone that reads the
> gcc, gcc-patches or mingw-users list knows how either.
Can you please explain what you mean by 'relocateable'? GCC has been
relocateable on mingw target for a long time (since 1999 at least).
That is, GCC_EXEC_PREFIX is determined relative to the gcc driver. To
work, the directory containing the gcc driver must be in $PATH.
Eg, I can relocate the whole mingw toolchain from c:/mingw to
any_other_directory and it will still work as long as
any_other_directory is in $PATH.
Danny
>
> I may try a little more, but because of my lack of knowledge
> with gcc, I
> don't even know how to get myself from the state I'm at, to a better
> state.
>
> Thanks,
> Bob Rossi
>