MinGW W64 i686 crosscompilation
From CCTools
(Difference between revisions)
Line 1: | Line 1: | ||
MinGW W64 i686 crosscompiler added to addons repository. You can compile C/C++ sources for Windows on your Android (32bit windows exe only yet)! | 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 | + | 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. | 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. | ||
Latest revision as of 18:25, 10 January 2014
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)