Codeblocks Cross Compile for Windows

asked 2014-08-30 04:17:26 -0500

I have installed Fedora 20 with LXDE, Codeblocks* and mingw*. I created a basic wxWidgets project and it compiles and runs fine on Fedora. I can compile and link it for Windows from the command line and it runs perfectly well on Windows 7 32 and 64 bit. I set up codeblocks to compile for windows but it will not compile and link properly and when I check the HTML version of the log it says in is using g++ instead of i686-w64-mingw32-g++, hence when I try to link the object modules produced by codeblocks the linker does not recognise the file format.

edit retag flag offensive close merge delete