Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / src / RunningOnPowerPC64.adoc
1 RunningOnPowerPC64
2 ==================
3
4 MLton runs fine on the PowerPC64 architecture.
5
6 == Notes ==
7
8 * When compiling for PowerPC64, MLton targets the 64-bit PowerPC
9 architecture.
10
11 * When compiling for PowerPC64, MLton doesn't support native code
12 generation (`-codegen native`). Hence, performance is not as good as
13 it might be and compile times are longer. Also, the quality of code
14 generated by `gcc` is important. By default, MLton calls `gcc -O1`.
15 You can change this by calling MLton with `-cc-opt -O2`.
16
17 * On the PowerPC64, the <:GnuMP:> library supports multiple ABIs. See
18 the <:GnuMP:> page for more details.