MinGW W64 i686 crosscompilation

From CCTools
Revision as of 18:24, 10 January 2014 by Sashz (Talk | contribs)

Jump to: navigation, search

MinGW W64 i686 crosscompiler added to addons repository. You can compile C/C++ sources for Windows on your Android (32bit windows exe only yet)!

Install package build-essential-mingw-w64 or packages: binutils-mingw-w64-i686 gcc-mingw-w64-i686 mingw-w64-i686-dev mingw-w64-examples

Open examples makefiles from Examples/mingw-w64-i686 directories and try to build. It will create exe binary. Copy this binary to windows pc and run it.

Note: to execute command line windows exe, use windows console (cmd.exe)

Included next examples:

hello (console app)

c++ (console app)

hello-gui (gui app)

MinGW_Win32 (gui app)

Personal tools