I am using gcc/g++ to compile c/c++ applications – living on OpenSuSe btw.
Is there any way (some option i guess) so that g++ will produce an executable suitable for windows ?
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.
You can search for a mingw32 package in OpenSuSE (I know there is one for Debian) or install it manually. Then if you have a
configurescript the command line would be something like this in order to havemakeuse the MinGW cross-compilation toolchain:mingw.org also has a tutorial on building a cross compiler, don’t know if that works.
(As an aside: Some websites point to mirzam.it.vu.nl/mingw containing MinGW RPM packages but it seems like that site is down.)