MinGW W64 i686 crosscompilation

From CCTools
(Difference between revisions)
Jump to: navigation, search
(Created page with "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-essenti...")
 
Line 10: Line 10:
  
 
hello (console app)
 
hello (console app)
 +
 
c++ (console app)
 
c++ (console app)
  
 
hello-gui (gui app)
 
hello-gui (gui app)
 +
 
MinGW_Win32 (gui app)
 
MinGW_Win32 (gui app)

Revision as of 19:24, 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)

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox