On Sun, Aug 09, 2009 at 08:42:19PM +0100, Dave Korn wrote:
>
>     Hi gang,
>
>  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.
>
>winsup/utils/ChangeLog:
>
>       * mingw: Add fallbacks to search for MinGW components in standard
>       install locations if not found in compiler's $prefix.
>
>  Ok?

Yep.

Thanks.

cgf

Reply via email to