Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / localhost / RunningOnPowerPC
CommitLineData
7f918cf1
CE
1<!DOCTYPE html>\r
2<html lang="en">\r
3<head>\r
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\r
5<meta name="generator" content="AsciiDoc 8.6.9">\r
6<title>RunningOnPowerPC</title>\r
7<link rel="stylesheet" href="./asciidoc.css" type="text/css">\r
8<link rel="stylesheet" href="./pygments.css" type="text/css">\r
9\r
10\r
11<script type="text/javascript" src="./asciidoc.js"></script>\r
12<script type="text/javascript">\r
13/*<![CDATA[*/\r
14asciidoc.install();\r
15/*]]>*/\r
16</script>\r
17<link rel="stylesheet" href="./mlton.css" type="text/css">\r
18</head>\r
19<body class="article">\r
20<div id="banner">\r
21<div id="banner-home">\r
22<a href="./Home">MLton 20180207</a>\r
23</div>\r
24</div>\r
25<div id="header">\r
26<h1>RunningOnPowerPC</h1>\r
27</div>\r
28<div id="content">\r
29<div id="preamble">\r
30<div class="sectionbody">\r
31<div class="paragraph"><p>MLton runs fine on the PowerPC architecture.</p></div>\r
32</div>\r
33</div>\r
34<div class="sect1">\r
35<h2 id="_notes">Notes</h2>\r
36<div class="sectionbody">\r
37<div class="ulist"><ul>\r
38<li>\r
39<p>\r
40When compiling for PowerPC, MLton targets the 32-bit PowerPC\r
41architecture.\r
42</p>\r
43</li>\r
44<li>\r
45<p>\r
46When compiling for PowerPC, MLton doesn&#8217;t support native code\r
47generation (<span class="monospaced">-codegen native</span>). Hence, performance is not as good as\r
48it might be and compile times are longer. Also, the quality of code\r
49generated by <span class="monospaced">gcc</span> is important. By default, MLton calls <span class="monospaced">gcc -O1</span>.\r
50You can change this by calling MLton with <span class="monospaced">-cc-opt -O2</span>.\r
51</p>\r
52</li>\r
53<li>\r
54<p>\r
55On the PowerPC, the <a href="GnuMP">GnuMP</a> library supports multiple ABIs. See\r
56the <a href="GnuMP">GnuMP</a> page for more details.\r
57</p>\r
58</li>\r
59</ul></div>\r
60</div>\r
61</div>\r
62</div>\r
63<div id="footnotes"><hr></div>\r
64<div id="footer">\r
65<div id="footer-text">\r
66</div>\r
67<div id="footer-badges">\r
68</div>\r
69</div>\r
70</body>\r
71</html>\r