Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / src / RunningOnARM.adoc
1 RunningOnARM
2 ============
3
4 MLton runs fine on the ARM architecture.
5
6 == Notes ==
7
8 * When compiling for ARM, MLton doesn't support native code generation
9 (`-codegen native`). Hence, performance is not as good as it might be
10 and compile times are longer. Also, the quality of code generated by
11 `gcc` is important. By default, MLton calls `gcc -O1`. You can
12 change this by calling MLton with `-cc-opt -O2`.