<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta name="robots" content="index,nofollow"> <title>RunningOnAMD64 - MLton Standard ML Compiler (SML Compiler)</title> <link rel="stylesheet" type="text/css" charset="iso-8859-1" media="all" href="common.css"> <link rel="stylesheet" type="text/css" charset="iso-8859-1" media="screen" href="screen.css"> <link rel="stylesheet" type="text/css" charset="iso-8859-1" media="print" href="print.css"> <link rel="Start" href="Home"> </head> <body lang="en" dir="ltr"> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-833377-1"; urchinTracker(); </script> <table bgcolor = lightblue cellspacing = 0 style = "border: 0px;" width = 100%> <tr> <td style = " border: 0px; color: darkblue; font-size: 150%; text-align: left;"> <a class = mltona href="Home">MLton MLTONWIKIVERSION</a> <td style = " border: 0px; font-size: 150%; text-align: center; width: 50%;"> RunningOnAMD64 <td style = " border: 0px; text-align: right;"> <table cellspacing = 0 style = "border: 0px"> <tr style = "vertical-align: middle;"> </table> <tr style = "background-color: white;"> <td colspan = 3 style = " border: 0px; font-size:70%; text-align: right;"> <a href = "Home">Home</a> <a href = "TitleIndex">Index</a> </table> <div id="content" lang="en" dir="ltr"> MLton runs fine on the AMD64 (x86-64) architecture. <h2 id="head-70440046a3dc2e079f23ee1c57dfa76669b732aa">Notes</h2> <ul> <li> <p> When compiling for AMD64, MLton targets the 64-bit ABI. </p> </li> <li class="gap"> <p> On AMD64, MLton supports native code generation (<tt>-codegen native</tt> or <tt>-codegen amd64</tt>). </p> </li> <li class="gap"> <p> When compiling for AMD64, MLton uses <tt>-align 8</tt> by default. Using <tt>-align 4</tt> may be incompatible with optimized builds of the <a href="GnuMP">GnuMP</a> library, which assume 8-byte alignment. (See the thread at <a class="external" href="http://mlton.org/pipermail/mlton/2009-October/030674.html"><img src="moin-www.png" alt="[WWW]" height="11" width="11">http://mlton.org/pipermail/mlton/2009-October/030674.html</a> for more details.) </p> </li> </ul> </div> <p> <hr> Last edited on 2010-05-31 19:56:08 by <span title="fenrir.cs.rit.edu"><a href="MatthewFluet">MatthewFluet</a></span>. </body></html>