| <!DOCTYPE html> |
| <html lang="en"> |
| |
| <head> |
| |
| <title>Configuring</title> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <link rel="stylesheet" href="/omr/css/style.css"> |
| <link rel="stylesheet" href="/omr/css/dropit.css"> |
| <link rel="stylesheet" href="/omr/css/prism.css"> |
| <link rel="stylesheet" href="/omr/css/font-awesome.min.css"> |
| <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&amp;subset=latin,latin-ext"> |
| <link href='https://fonts.googleapis.com/css?family=Roboto:700,300,500,400,100' rel='stylesheet' type='text/css'> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <script data-cfasync="false" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> |
| <script data-cfasync="false" src="/omr/js/app.js"></script> |
| <script data-cfasync="false" src="/omr/js/retina.js"></script> |
| <script data-cfasync="false" src="/omr/js/dropit.js"></script> |
| <script data-cfasync="false" src="/omr/js/prism.js"></script> |
| </head> |
| |
| |
| <body> |
| |
| <section class="content"> |
| |
| <header> |
| |
| <div id="mobile-menu"> |
| <div id="nav-button" class="fa fa-bars fa-2x button"></div> |
| </div> |
| |
| <section id="logo"><a href="/omr/" class="omr">Eclipse OMR</a> |
| </section> |
| |
| <div id="navbar"> |
| <div id="navdiv"> |
| <ul id="navmenu" class="menu"> |
| |
| <li><a href="/omr/" id="home-menu">Home</a></li> |
| |
| <li> |
| <a href="/omr/starter/whatisomr.html">About</a> |
| <ul> |
| <li><a href="/omr/starter/whatisomr.html">What is OMR?</a></li> |
| <li><a href="/omr/starter/goals.html">Project goals</a></li> |
| <li><a href="/omr/starter/project.html">Get involved</a></li> |
| </ul> |
| </li> |
| |
| <li> |
| <a href="/omr/guide/building.html" class="active">Getting started</a> |
| <ul> |
| <li><a href="/omr/guide/building.html">Building</a></li> |
| <li><a href="/omr/guide/configuring.html">Configuring</a></li> |
| <li><a href="/omr/guide/testing.html">Testing your runtime</a></li> |
| <li><a href="/omr/guide/troubleshooting.html">Troubleshooting</a></li> |
| <li><a href="/omr/guide/best-practices.html">Best practices</a></li> |
| <li><a href="/omr/guide/coding-stds.html">Coding standards</a></li> |
| </ul> |
| </li> |
| |
| <li> |
| <a href="/omr/reference/architecture.html">Reference</a> |
| <ul> |
| <li><a href="/omr/reference/architecture.html">Architecture</a></li> |
| <li><a href="/omr/reference/components.html">Components</a></li> |
| <li><a class="subsub" href="/omr/reference/thread.html">Thread</a></li> |
| <li><a class="subsub" href="/omr/reference/gc.html">GC</a></li> |
| <li><a class="subsub" href="/omr/reference/vm.html">VM</a></li> |
| <li><a class="subsub" href="/omr/reference/jit.html">Compiler</a></li> |
| <li><a class="subsub" href="/omr/reference/port.html">Port</a></li> |
| <li><a class="subsub" href="/omr/reference/tools.html">Tools</a></li> |
| <li><a class="subsub" href="/omr/reference/glue.html">Glue</a></li> |
| <li><a class="subsub" href="/omr/reference/util.html">Util</a></li> |
| </ul> |
| </li> |
| |
| <li> |
| <a href="/omr/resources/omr-on-github.html">Resources</a> |
| <ul> |
| <li><a href="/omr/resources/omr-on-github.html">OMR on GitHub</a></li> |
| <li><a href="/omr/resources/presentations.html">Presentations</a></li> |
| <li><a href="/omr/resources/blogs.html">Blog posts</a></li> |
| </ul> |
| </li> |
| |
| </ul> |
| |
| <div id="eggContainer"> |
| <div align="center"> |
| <a href="https://projects.eclipse.org/projects/technology.omr" style="padding-right: 0px;"> |
| <img id="incubatingIcon" align="center" src="/omr/images/incubating.png" border="0" alt="Incubation" /> |
| </a> |
| </div> |
| <h6 id="incubateText">Incubation</h6> |
| </div> |
| </div> |
| </div> |
| </header> |
| |
| |
| <div id="overlay"></div> |
| |
| |
| <h1 id="configuring-omr">Configuring OMR</h1> |
| |
| <h3 id="how-to-configure-eclipse-omr-with-custom-options">How to configure Eclipse OMR with custom options</h3> |
| |
| <p>Run the following command to see the full list of command-line options:</p> |
| |
| <div class="highlighter-rouge"><pre class="highlight"><code>./configure --help |
| </code></pre> |
| </div> |
| |
| <p>The minimum invocation of <code class="highlighter-rouge">configure</code> is as follows:</p> |
| |
| <div class="highlighter-rouge"><pre class="highlight"><code>$ ./configure OMRGLUE=./example/glue` |
| </code></pre> |
| </div> |
| |
| <p>To run <code class="highlighter-rouge">configure</code> using both SPEC presets and custom options, add the <code class="highlighter-rouge">EXTRA_CONFIGURE_ARGS</code> option to <code class="highlighter-rouge">run_configure.mk</code>.</p> |
| |
| <p>Example: to disable optimizations, run <code class="highlighter-rouge">configure</code> like this:</p> |
| |
| <div class="highlighter-rouge"><pre class="highlight"><code>make -f run_configure.mk SPEC=linux_x86-64 OMRGLUE=./example/glue 'EXTRA_CONFIGURE_ARGS=--disable-optimized' clean all |
| </code></pre> |
| </div> |
| |
| <p>Example: to disable building FV tests, run <code class="highlighter-rouge">configure</code> like this:</p> |
| |
| <div class="highlighter-rouge"><pre class="highlight"><code>make -f run_configure.mk SPEC=linux_x86-64 OMRGLUE=./example/glue 'EXTRA_CONFIGURE_ARGS=--disable-fvtest' clean all |
| </code></pre> |
| </div> |
| |
| <p>Note that the <code class="highlighter-rouge">clean</code> target of <code class="highlighter-rouge">run_configure.mk</code> deletes the header files and makefiles generated by <code class="highlighter-rouge">configure</code>. Invoking the <code class="highlighter-rouge">clean all</code> targets ensures that the header files and makefiles are regenerated using the custom options.</p> |
| |
| <p>Pull requests are very welcome if you would like to help. For more information about contributing, see: <a href="https://github.com/eclipse/omr/issues/165">https://github.com/eclipse/omr/issues/165</a>.</p> |
| |
| |
| </section> |
| |
| <a id="top" href="#"><img src="/omr/images/arrow.png"></a>
|
|
|
| <footer>
|
|
|
| <div id="f_container">
|
|
|
| <div id="f_1">
|
| <div class="f_icon" style="background-image: url(/omr/images/inforound.png);">
|
| </div>
|
| <div class="f_link_group bold">
|
| <span class="f_link"> <i class="fa fa-chevron-circle-right f_mini" aria-hidden="true"></i> <a href="https://projects.eclipse.org/projects/technology.omr">OMR on Eclipse Technology projects</a>
|
| </span>
|
| <br>
|
| <span class="f_link"><i class="fa fa-graduation-cap f_mini" aria-hidden="true"></i> <a href="https://developer.ibm.com/code/open/projects/eclipse-omr/">OMR on developerWorks Open</a>
|
| </span>
|
| </div>
|
| </div>
|
|
|
| <div id="f_1">
|
| <div class="f_icon" style="background-image: url(/omr/images/GitHub-Mark-64px.png);">
|
| </div>
|
| <div class="f_link_group bold">
|
| <span class="f_link"><i class="fa fa-github-alt f_mini" aria-hidden="true"></i> <a href="https://github.com/eclipse/omr">Contribute on GitHub</a>
|
| </span>
|
| <br>
|
| <span class="f_link"><i class="fa fa-gavel f_mini" aria-hidden="true"></i> <a href="https://github.com/eclipse/omr/blob/master/LICENSE">OMR license on GitHub</a>
|
| </span>
|
| </div>
|
| </div>
|
|
|
| <div id="f_1">
|
| <div class="f_icon" style="background-image: url(/omr/images/fa_thumb_up.png);">
|
| </div>
|
| <div class="f_link_group bold">
|
| <span class="f_link"><i class="fa fa-twitter f_mini" aria-hidden="true"></i> <a href="https://twitter.com/eclipseomr">Follow us on Twitter</a>
|
| </span>
|
| <br>
|
| <span class="f_link"><i class="fa fa-youtube-play f_mini" aria-hidden="true"></i> <a href="https://www.youtube.com/channel/UCO8MkTRrFnLefi5nqReOMMA">OMR on YouTube</a>
|
| </span>
|
| </div>
|
| </div>
|
|
|
| </div>
|
|
|
| <!--<div id="f_container_3">
|
| <div id="f_2">
|
| <div align="center">
|
| <a href="https://projects.eclipse.org/projects/technology.omr">
|
| <img id="incubatingIcon" align="center" src="../../images/incubating.png" border="0" alt="Incubation" />
|
| </a>
|
| </div>
|
| <h6 id="incubateText">Incubation</h6>
|
| </div>
|
| </div>-->
|
|
|
| <div id="f_container_2">
|
|
|
| <div id="f_1">
|
| <div class="f_link_group bold">
|
| <span class="f_link_2"> <i class="fa fa-chevron-circle-right f_mini" aria-hidden="true"></i> <a href="http://www.eclipse.org">Eclipse Foundation website</a>
|
| </span>
|
| <span class="f_link_2"> <i class="fa fa-chevron-circle-right f_mini" aria-hidden="true"></i> <a href="http://www.eclipse.org/legal/privacy.php">Privacy policy</a>
|
| </span>
|
| <span class="f_link_2"> <i class="fa fa-chevron-circle-right f_mini" aria-hidden="true"></i> <a href="http://www.eclipse.org/legal/termsofuse.php">Website terms of use</a>
|
| </span>
|
| <span class="f_link_2"> <i class="fa fa-chevron-circle-right f_mini" aria-hidden="true"></i> <a href="http://www.eclipse.org/legal/copyright.php">Copyright agent</a>
|
| </span>
|
| <span class="f_link_2"> <i class="fa fa-chevron-circle-right f_mini" aria-hidden="true"></i> <a href="http://www.eclipse.org/legal">Legal</a>
|
| </span>
|
| </div>
|
| </div>
|
| </div>
|
| <!--
|
| <div id="footer-content">
|
| <div id="sponsor">OMR is an <a href="https://projects.eclipse.org/projects/technology.omr">Eclipse Technology project</a>. </div>
|
| <div id="git"><a href="https://github.com/eclipse/omr"> Contribute on GitHub</a>
|
| </div>
|
| <div id="twitter"><a href="https://twitter.com/eclipseomr"><i class="fa fa-twitter" id="tw-icon" aria-hidden="true"></i> Follow us on Twitter</a>
|
| </div>
|
| </div>
|
| -->
|
| </footer>
|
| |
| |
| </body> |
| |
| </html> |