[MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix

Ranjit Mathew rmathew@gmail.com
Wed Dec 20 05:08:00 GMT 2006


On 12/19/06, Danny Smith <dannysmith@clear.net.nz> wrote:
>
> 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.

If you extract the binutils binaries into "any_other_directory/$TARGET",
GCC (C/C++) works fine even if "any_other_directory/bin" is not
in $PATH.

Thanks,
Ranjit.

-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://rmathew.com/



More information about the Gcc-patches mailing list