summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-02-01 13:03:08 (GMT)
committerGitHub <noreply@github.com>2017-02-01 13:03:08 (GMT)
commit8268bf6e9ea56fb959db6bb6291c088c0f5aa210 (patch)
tree6f1e41190365c47f84bcbd7b9d28b8289f6f6137
parent64b6f660947996b4a52ccf3d6fda50b4b397663a (diff)
parent195b47bfb1c199164256e6ae7ff2f04da553ea11 (diff)
downloadmxe-8268bf6e9ea56fb959db6bb6291c088c0f5aa210.zip
mxe-8268bf6e9ea56fb959db6bb6291c088c0f5aa210.tar.gz
mxe-8268bf6e9ea56fb959db6bb6291c088c0f5aa210.tar.bz2
Merge pull request #1208 from LuaAndC/targets-docs
index.html: add "How to choose MXE target"
-rw-r--r--docs/index.html36
1 files changed, 31 insertions, 5 deletions
diff --git a/docs/index.html b/docs/index.html
index ac70b75..6b298ba 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -101,10 +101,13 @@
<h3>Supported Toolchains</h3>
+ <p>
+ Compiler and runtime: MinGW-w64.
+ </p>
+
<table id="supported-toolchains">
<tr>
- <th rowspan="2">Runtime</th>
- <th rowspan="2">Host Triplet</th>
+ <th rowspan="2">Target OS</th>
<th colspan="2">Packages</th>
</tr>
<tr>
@@ -112,13 +115,12 @@
<th>Shared</th>
</tr>
<tr>
- <td rowspan="2">MinGW-w64</td>
- <td>i686-w64-mingw32</td>
+ <td>32 bit Windows</td>
<td style='text-align:center'>99% (379/381)</td>
<td style='text-align:center'>72% (273/381)</td>
</tr>
<tr>
- <td>x86_64-w64-mingw32</td>
+ <td>64 bit Windows</td>
<td style='text-align:center'>94% (360/381)</td>
<td style='text-align:center'>71% (271/381)</td>
</tr>
@@ -129,6 +131,30 @@
for individual packages.
</p>
<p>
+ Executables built for 32 bit Windows can be
+ executed on 64 bit Windows as well.
+ </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.