[PATCH] Find MinGW in more places
Sun Aug 9 19:29:00 GMT 2009
I often run into this problem when I'm using a compiler that I've installed in
a non-standard $prefix: the utils/mingw script expects to find the MinGW sysroot
in the same place the compiler's --print-prog-name= option finds ld.exe, which
won't be the case if you've got a binutils in your non-standard $prefix as well.
The attached patch simply falls back to looking in the same set of directories
relative to the root directory, which will locate anything installed with prefix
/ or /usr. It would also work if it only looked in /usr, but I decided to
mirror the existing behaviour only in a different prefix just for consistency; I
could always simplify it if wanted.
* mingw: Add fallbacks to search for MinGW components in standard
install locations if not found in compiler's $prefix.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 694 bytes
Desc: not available
More information about the Cygwin-patches