2010/6/15 JonY <[email protected]>

> On 6/15/2010 19:31, Ruben Van Boxem wrote:
>
>> I didn't have such issues cross compiling GMP in Cygwin or Linux.
>>>
>>
>>
>> Well, MSYS is special :s (see other thread on my link.exe removal).
>>
>>
> MSYS is not special at all to configure scripts. How does your PATH look? I
> am very puzzled how this can happen.
>

I know this, I meant the precautions and gotcha's MSYS sometimes has, like
the link.exe issue we are having here.
My PATH from within MSYS is this:
.:/usr/local/bin:/mingw/bin:/bin:/c/Program Files (x86)/MiKTeX
2.8/miktex/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program
Files/MATLAB/R2010a/runtime/win64:/c/Program
Files/MATLAB/R2010a/bin:/c/Program Files (x86)/MKVtoolnix

I'm guessing /usr/local/bin is /bin, and mingw/bin is set by the postinstall
script to wherever you have a mingw compiler installed



>
>
>>  Don't you mean --build?
>>>
>>>
>> Yeah, pretty sure I mean --target (although --host should be equal to
>> target
>> if the latter is unspecified).
>>
>> http://www.linuxquestions.org/questions/slackware-14/explaining-build-host-target-509739/
>>
>> This tells me --target is useless for anything but gcc itself, and build
>> should always be i686-pc-mingw32, which it is:
>>
>>
> Usually it won't look at the prefixed toolchains at all.
>
> iirc by setting --build==--host, configure will look for the prefixed
> toolchain first, and the unprefixed version after. In either case, it will
> assume it is not cross compiling.
>
> If you can actually execute win64 apps, you can use this to your advantage
> for prefixed toolchains.
>

I'll get that in the wiki. Thanks for the explanation.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to