Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / localhost / RunningOnS390
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>RunningOnS390</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>RunningOnS390</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 S390 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 S390, MLton doesn&#8217;t support native code\r
41generation (<span class="monospaced">-codegen native</span>). Hence, performance is not as good as\r
42it might be and compile times are longer. Also, the quality of code\r
43generated by <span class="monospaced">gcc</span> is important. By default, MLton calls <span class="monospaced">gcc -O1</span>.\r
44You can change this by calling MLton with <span class="monospaced">-cc-opt -O2</span>.\r
45</p>\r
46</li>\r
47</ul></div>\r
48</div>\r
49</div>\r
50</div>\r
51<div id="footnotes"><hr></div>\r
52<div id="footer">\r
53<div id="footer-text">\r
54</div>\r
55<div id="footer-badges">\r
56</div>\r
57</div>\r
58</body>\r
59</html>\r