summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJos De Laender <jos@de-laender.be>2016-01-31 13:02:17 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-10-11 23:08:52 (GMT)
commit8ed6d3000eec81239a331733cc585560bbfcdbbe (patch)
treee843f2f3e4f51896b34ae5897e63458e8523d98d /docs
parent6164a71b971c7b9b301a65347b47bc21709003a6 (diff)
downloadmxe-8ed6d3000eec81239a331733cc585560bbfcdbbe.zip
mxe-8ed6d3000eec81239a331733cc585560bbfcdbbe.tar.gz
mxe-8ed6d3000eec81239a331733cc585560bbfcdbbe.tar.bz2
index.html: add "How to choose MXE target"
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/index.html b/docs/index.html
index 3aa6855..a37fe18 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -129,6 +129,26 @@
for individual packages.
</p>
<p>
+ How to choose MXE target:
+ <ol>
+ <li>if you want a 64 bit Windows executable,
+ statically linked into one big executable:
+ use MXE_TARGET x86_64-w64-mingw32.static;</li>
+ <li>if you want a 64 bit Windows executable,
+ splitted in an executable and dependant dlls
+ use MXE_TARGET x86_64-w64-mingw32.shared;</li>
+ <li>if you want a 32 bit Windows executable,
+ statically linked into one big executable:
+ use MXE_TARGET i686-w64-mingw32.static;</li>
+ <li>if you want a 32 bit Windows executable,
+ splitted in an executable and dependant dlls
+ use MXE_TARGET i686-w64-mingw32.shared.</li>
+ </ol>
+ Remark: the 'w64-mingw32' in those names are left-overs from
+ historical evolutions in the open source cross-compilation world
+ and refer in no way to the result being 64 or 32 bit Windows.
+ </p>
+ <p>
OpenMP (<a href="http://gcc.gnu.org/projects/gomp/">libgomp</a>)
and pthreads (<a href="http://mingw-w64.sourceforge.net/">winpthreads</a>)
are always available.