This is the mail archive of the gcc-patches@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: [MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix


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/


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