| 1 |
= RunningOnAMD64 |
| 2 |
|
| 3 |
MLton runs fine on the AMD64 (aka "x86-64" or "x64") architecture. |
| 4 |
|
| 5 |
== Notes |
| 6 |
|
| 7 |
* When compiling for AMD64, MLton targets the 64-bit ABI. |
| 8 |
|
| 9 |
* On AMD64, MLton supports native code generation (`-codegen native` or `-codegen amd64`). |
| 10 |
|
| 11 |
* When compiling for AMD64, MLton uses `-align 8` by default. Using |
| 12 |
`-align 4` may be incompatible with optimized builds of the <<GMP#>> |
| 13 |
library, which assume 8-byte alignment. (See the thread at |
| 14 |
http://www.mlton.org/pipermail/mlton/2009-October/030674.html for more |
| 15 |
details.) |