| 1 | RunningOnPowerPC |
| 2 | ================ |
| 3 | |
| 4 | MLton runs fine on the PowerPC architecture. |
| 5 | |
| 6 | == Notes == |
| 7 | |
| 8 | * When compiling for PowerPC, MLton targets the 32-bit PowerPC |
| 9 | architecture. |
| 10 | |
| 11 | * When compiling for PowerPC, 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 PowerPC, the <:GnuMP:> library supports multiple ABIs. See |
| 18 | the <:GnuMP:> page for more details. |