Cross compiling for Windows

Brandon Allbery allbery.b at
Sun Sep 23 16:57:59 PDT 2012

On Sun, Sep 23, 2012 at 7:25 PM, Dominik Reichardt <domiman at>wrote:

> You got me wrong, my question was not on how to compile on Windows but on
> how to cross compile on OS X for Windows.

In other words, I got you exactly right:  I was responding about cross
compiling for Windows on OS X, oddly enough.

> Doesn't necessarily need to be through macports but it seems tome that the
> mingw/binutils port might be the right direction (I think those ports
> exist(ed)

The ports exist but that doesn't guarantee that anything knows how to use
them.  I would, however, expect that as long as you aren't expecting any
framework to help you along (not that they would anywhere else either),
Windows cross-compile instructions for Linux will mostly work on OS X.

brandon s allbery                                      allbery.b at
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list