diff options
Diffstat (limited to '')
-rw-r--r-- | doc/install.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/install.html b/doc/install.html index 9963010d..38c9a6bb 100644 --- a/doc/install.html +++ b/doc/install.html | |||
@@ -148,7 +148,7 @@ operating systems, CPUs and compilers: | |||
148 | <td class="compatos">XEDK (<a href="#xbox360">Xbox 360</a>)</td> | 148 | <td class="compatos">XEDK (<a href="#xbox360">Xbox 360</a>)</td> |
149 | </tr> | 149 | </tr> |
150 | <tr class="even"> | 150 | <tr class="even"> |
151 | <td class="compatcpu"><a href="#cross2">MIPS</a></td> | 151 | <td class="compatcpu"><a href="#cross2">MIPS32<br>MIPS64</a></td> |
152 | <td class="compatos">GCC 4.3+</td> | 152 | <td class="compatos">GCC 4.3+</td> |
153 | <td class="compatos">GCC 4.3+</td> | 153 | <td class="compatos">GCC 4.3+</td> |
154 | <td class="compatos compatno"> </td> | 154 | <td class="compatos compatno"> </td> |
@@ -386,7 +386,7 @@ important to compile with the proper CPU or architecture settings: | |||
386 | <li>The best way to get consistent results is to specify the correct settings when building the toolchain yourself.</li> | 386 | <li>The best way to get consistent results is to specify the correct settings when building the toolchain yourself.</li> |
387 | <li>For a pre-built, generic toolchain add <tt>-mcpu=...</tt> or <tt>-march=...</tt> and other necessary flags to <tt>TARGET_CFLAGS</tt>.</li> | 387 | <li>For a pre-built, generic toolchain add <tt>-mcpu=...</tt> or <tt>-march=...</tt> and other necessary flags to <tt>TARGET_CFLAGS</tt>.</li> |
388 | <li>For ARM it's important to have the correct <tt>-mfloat-abi=...</tt> setting, too. Otherwise LuaJIT may not run at the full performance of your target CPU.</li> | 388 | <li>For ARM it's important to have the correct <tt>-mfloat-abi=...</tt> setting, too. Otherwise LuaJIT may not run at the full performance of your target CPU.</li> |
389 | <li>For MIPS it's important to select a supported ABI (o32 on MIPS32) and consistently compile your project either with hard-float or soft-float compiler settings. Do not use <tt>-mips16</tt>.</li> | 389 | <li>For MIPS it's important to select a supported ABI (o32 on MIPS32, n64 on MIPS64) and consistently compile your project either with hard-float or soft-float compiler settings. Do not use <tt>-mips16</tt>.</li> |
390 | </ul> | 390 | </ul> |
391 | <p> | 391 | <p> |
392 | Here are some examples for targets with a different CPU than the host: | 392 | Here are some examples for targets with a different CPU than the host: |
@@ -409,10 +409,15 @@ make CROSS=aarch64-linux- | |||
409 | # PPC | 409 | # PPC |
410 | make HOST_CC="gcc -m32" CROSS=powerpc-linux-gnu- | 410 | make HOST_CC="gcc -m32" CROSS=powerpc-linux-gnu- |
411 | 411 | ||
412 | # MIPS big-endian | 412 | # MIPS32 big-endian |
413 | make HOST_CC="gcc -m32" CROSS=mips-linux- | 413 | make HOST_CC="gcc -m32" CROSS=mips-linux- |
414 | # MIPS little-endian | 414 | # MIPS32 little-endian |
415 | make HOST_CC="gcc -m32" CROSS=mipsel-linux- | 415 | make HOST_CC="gcc -m32" CROSS=mipsel-linux- |
416 | |||
417 | # MIPS64 big-endian | ||
418 | make CROSS=mips-linux- TARGET_CFLAGS="-mips64r2 -mabi=64" | ||
419 | # MIPS64 little-endian | ||
420 | make CROSS=mipsel-linux- TARGET_CFLAGS="-mips64r2 -mabi=64" | ||
416 | </pre> | 421 | </pre> |
417 | <p> | 422 | <p> |
418 | You can cross-compile for <b id="android">Android</b> using the <a href="https://developer.android.com/ndk/index.html">Android NDK</a>. | 423 | You can cross-compile for <b id="android">Android</b> using the <a href="https://developer.android.com/ndk/index.html">Android NDK</a>. |