Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>On Ubuntu, you can get going in many cases with "apt-get install gcc-mingw32"</p> <p>If you need to install both the 64-bit and 32-bit mingw compilers, try this:</p> <ul> <li>from <a href="http://sourceforge.net/tracker/?func=detail&amp;aid=3258887&amp;group_id=67079&amp;atid=516781" rel="noreferrer">http://sourceforge.net/tracker/?func=detail&amp;aid=3258887&amp;group_id=67079&amp;atid=516781</a></li> </ul> <p>For 64-bit build systems:</p> <pre><code>apt-get install libmpfr1ldbl wget http://ppa.launchpad.net/mingw-packages/ppa/ubuntu/pool/main/w/w64-toolchain/x86-64-w64-mingw32-toolchain_1.0b+201011211643-0w2273g93970b22426p16~karmic1_amd64.deb dpkg -i x86-64-w64-mingw32-toolchain_1.0b+201011211643-0w2273g93970b22426p16~karmic1_amd64.deb </code></pre> <p>For 32-bit build systems:</p> <pre><code>wget http://ppa.launchpad.net/mingw-packages/ppa/ubuntu/pool/main/w/w64-toolchain/i686-w64-mingw32-toolchain_1.0b+201011211643-0w2273g93970b22426p16~karmic1_amd64.deb dpkg -i i686-w64-mingw32-toolchain_1.0b+201011211643-0w2273g93970b22426p16~karmic1_amd64.deb </code></pre> <p>Source for this tip: <a href="http://ubuntuforums.org/showthread.php?t=1705566" rel="noreferrer">http://ubuntuforums.org/showthread.php?t=1705566</a></p> <p>On Fedora, you can install mingw32 using standard yum. To install mingw64, follow the instructions at:</p> <ul> <li><a href="http://fedoraproject.org/wiki/MinGW/CrossCompilerFramework" rel="noreferrer">http://fedoraproject.org/wiki/MinGW/CrossCompilerFramework</a></li> <li><a href="http://fedoraproject.org/wiki/Features/Mingw-w64_cross_compiler" rel="noreferrer">http://fedoraproject.org/wiki/Features/Mingw-w64_cross_compiler</a></li> <li><p><a href="http://www.advancedhpc.com/tower_servers/tower_server_products.html" rel="noreferrer">http://www.advancedhpc.com/tower_servers/tower_server_products.html</a></p> <p>$ cd /etc/yum.repos.d $ sudo wget <a href="http://fedoraproject.org/wiki/MinGW/CrossCompilerFramework#Development_and_testing_repository" rel="noreferrer">http://fedoraproject.org/wiki/MinGW/CrossCompilerFramework#Development_and_testing_repository</a> $ yum update $ yum install mingw64-gcc mingw64-g++ mingw64-zlib</p></li> </ul> <p>Best bet for cross-compiling seems to be Fedora, which gives you both mingw32 and mingw64:</p> <ul> <li><p><a href="http://fedoraproject.org/wiki/MinGW/CrossCompilerFramework" rel="noreferrer">http://fedoraproject.org/wiki/MinGW/CrossCompilerFramework</a></p> <p>sudo yum install mingw32-gcc-c++</p></li> </ul> <p>I haven't been able to find a 64-bit cross-compiler for Mac. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload