diff options
author | Juergen Kahrs <Juergen.Kahrs@googlemail.com> | 2013-04-28 19:23:08 +0200 |
---|---|---|
committer | Juergen Kahrs <Juergen.Kahrs@googlemail.com> | 2013-04-28 19:23:08 +0200 |
commit | 74db9f3cb12c4c45487b8646473daad7d0df641f (patch) | |
tree | 5760d67b4aa0648969f1102f6d2e12c8cc5a13ce /cmake | |
parent | 730a2388f18c57478fb0afa07b15947616f84c5a (diff) | |
download | egawk-74db9f3cb12c4c45487b8646473daad7d0df641f.tar.gz egawk-74db9f3cb12c4c45487b8646473daad7d0df641f.tar.bz2 egawk-74db9f3cb12c4c45487b8646473daad7d0df641f.zip |
On Win32 platforms a native build with MinGW works now.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/README.txt | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/cmake/README.txt b/cmake/README.txt index f4feaf7f..60dde159 100644 --- a/cmake/README.txt +++ b/cmake/README.txt @@ -62,7 +62,20 @@ Use "make package". The exact kind of installable file depends on your operating system and defaults to TGZ. - Can I build an executable that runs on any Win32 platform ? -It is possible to build for the target Win32, but only with cross-compilers -on certain platforms. You need a MinGW cross-compiler and the NSIS package -builder. +Yes, there are two ways of doing this. +In both cases you need a MinGW compiler and the NSIS package builder +installed on the host that shall do the build. + http://sourceforge.net/projects/mingw + http://sourceforge.net/projects/nsis +When installed properly, the NSIS tool can even build an installer file +(a single .exe file that unpacks, registers and installs the gawk executable +and several other files). +1. way: native build on a Win32 platform + http://www.cmake.org/cmake/help/runningcmake.html + After clicking "Configure" select the MinGW option with the default native compiler + In the build directory, the command "mingw32-make" will build the gawk.exe + The command "mingw32-make package" will build installer file +2. way: build with cross-compiler on a Linux platform like Ubuntu 12.04 LTS + Proceed as describe above for cross-compilers. + The command "make ; make package" will build gawk.exe and the installer file |