I can't install mingw-w64-gcc in Arch linux, so i can't compile my .cpp files for Windows... I have aldready tried wineg++, but it isn't good for me... Anyone can help me? Thanks

2

1 Answer

Assuming that what you want is to install mingw-w64-gcc in Arch, the steps you need to do are:

1) go to: and download a snapshot (on the upper right side of the web page).

2) decompress the file with tar xzvf /your_path/mingw-w64-gcc.tar.gz.

3) install the package. cd mingw-w64-gcc/ && makepkg -si.

You may need to install other dependencies from the Arch User Repository (AUR).

Hope you find this helpful.

For future questions related with Arch Linux issues I would recommend you first to search in the Arch Wiki, and if you cannot find a solution, then use the Arch forums.

PS: Let me also suggest you to use Docker for making your code executable anywhere. It's quite simple to use when you learn it.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.