I’m having trouble installing both mingw32 and mingw64 on Linux or MacOS. I’ve tried many different package repositories and multiple versions of Linux. I’m happy to use anything.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On Ubuntu, you can get going in many cases with “apt-get install gcc-mingw32”
If you need to install both the 64-bit and 32-bit mingw compilers, try this:
For 64-bit build systems:
For 32-bit build systems:
Source for this tip: http://ubuntuforums.org/showthread.php?t=1705566
On Fedora, you can install mingw32 using standard yum.
To install mingw64, follow the instructions at:
http://www.advancedhpc.com/tower_servers/tower_server_products.html
$ cd /etc/yum.repos.d
$ sudo wget http://fedoraproject.org/wiki/MinGW/CrossCompilerFramework#Development_and_testing_repository
$ yum update
$ yum install mingw64-gcc mingw64-g++ mingw64-zlib
Best bet for cross-compiling seems to be Fedora, which gives you both mingw32 and mingw64:
http://fedoraproject.org/wiki/MinGW/CrossCompilerFramework
sudo yum install mingw32-gcc-c++
I haven’t been able to find a 64-bit cross-compiler for Mac.