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