MinGW W64 i686 crosscompilation

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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