<!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>RunningOnDarwin - 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%;"> RunningOnDarwin <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 Darwin (and on Mac OS X). <h2 id="head-70440046a3dc2e079f23ee1c57dfa76669b732aa">Notes</h2> <ul> <li> <p> MLton requires the <a href="GnuMP">GnuMP</a> library, which is available via <a class="external" href="http://www.finkproject.org"><img src="moin-www.png" alt="[WWW]" height="11" width="11">Fink</a> or <a class="external" href="http://www.macports.com"><img src="moin-www.png" alt="[WWW]" height="11" width="11">MacPorts</a>. </p> </li> <li class="gap"> <p> For Intel-based Macs, MLton targets the <a href="RunningOnAMD64">AMD64 architecture</a> on Darwin 10 (Mac OS X Snow Leopard) and higher and targets the <a href="RunningOnX86">x86 architecture</a> on Darwin 8 (Mac OS X Tiger) and Darwin 9 (Mac OS X Leopard). </p> </li> </ul> <h2 id="head-b05203cf89b60eb36609a1a8b7f3cafe0927486a">Known issues</h2> <ul> <li> <p> <a href="ProfilingTime">ProfilingTime</a> may give inaccurate results on multi-processor machines. The <tt>SIGPROF</tt> signal, used to sample the profiled program, is supposed to be delivered 100 times a second (i.e., at 10000us intervals), but there can be delays of over 1 minute between the delivery of consecutive <tt>SIGPROF</tt> signals. A more complete description may be found <a class="external" href="http://lists.apple.com/archives/Unix-porting/2007/Aug/msg00000.html"><img src="moin-www.png" alt="[WWW]" height="11" width="11">here</a> and <a class="external" href="http://lists.apple.com/archives/Darwin-dev/2007/Aug/msg00045.html"><img src="moin-www.png" alt="[WWW]" height="11" width="11">here</a>. </p> </li> </ul> <h2 id="head-a4bc8bf5caf54b18cea9f58e83dd4acb488deb17">Also see</h2> <ul> <li> <p> <a href="RunningOnAMD64">RunningOnAMD64</a> </p> </li> <li> <p> <a href="RunningOnPowerPC">RunningOnPowerPC</a> </p> </li> <li> <p> <a href="RunningOnX86">RunningOnX86</a> </p> </li> </ul> </div> <p> <hr> Last edited on 2010-05-31 19:56:17 by <span title="fenrir.cs.rit.edu"><a href="MatthewFluet">MatthewFluet</a></span>. </body></html>