See tdm-gcc, it works like that.

On Mon, Aug 24, 2015 at 7:05 PM, Spork Schivago <sporkschiv...@gmail.com>
wrote:

> Hi.
>
> Is it possible to cross-compiling using pre-compiled binaries of
> mingw-w64?   I'm running Windows 7, 64-bit, and I'd like to be able to
> install the compiler and make either 32-bit only applications or to make
> 64-bit applications.    Currently, the only way I found to do this is to
> install two versions of MinGW-w64.   The first one I pick for target
> x86_64, the second one I pick the i686 one.
>
> For example, I'd like to install the x86_64 targetted version and then pas
> -m32 -march=i686 -mtune=i686   as CFLAGS   and as LDFLAGS.   Is this
> possible?
>
> Thanks
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to