2013/3/26 Etienne Sandré-Chardonnal <[email protected]>
> Hi Ruben. First of all, thank you for this amazing work!
>
> I just used this one:
>
> http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-release/
> (I took the win64 version)
>
> I have only i686-w64-mingw32- prefixed executables in "bin".
>
> Is this because the host(win64) is not the target(i686) ?
>
Yes exactly. The x86_64-...-win32 toolchain is built as a cross-compiler.
If you want no prefix, use the x86_64-...-win64 toolchain (if you have a
64-bit OS, which you really should in this day and age ;-)).
any case, the autotools configure invocation is the same regardless
prefixes:
--host=x86_64-w64-mingw32
as explained on the wiki:
http://sourceforge.net/apps/trac/mingw-w64/wiki/MSYS
The same applies for cross-compiling from Linux. Note that some crappy
autotools scripts (like that of GMP) need special magic to work in a
general cross-compiler scenario (see
https://github.com/rubenvb/MinGW-w64-build-scripts/blob/master/scripts/gmp.sh)
which needs explicit CC,CXX, etc... set at configure time.
Ruben
>
> Thanks,
>
> Etienne
>
> > Take any of my builds. Say you have extracted it so that
> > C:\mingw32\bin\gcc.exe
> > exists.
> >
> > Then you need to run
> > export PATH=/c/mingw32/bin:$PATH
> > from the msys shell, or mount C:\mingw32 to /mingw.
> >
> > For cmd.exe, you can use the cmd script in the recent builds.
> >
> > Ruben
>
>
> ------------------------------------------------------------------------------
> Own the Future-Intel® Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game
> on Steam. $5K grand prize plus 10 genre and skill prizes.
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public