common/doc/building.html
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File jdk10hs Cdiff common/doc/building.html

common/doc/building.html

Print this page

        

*** 56,66 **** <li><a href="#freetype">FreeType</a></li> <li><a href="#cups">CUPS</a></li> <li><a href="#x11">X11</a></li> <li><a href="#alsa">ALSA</a></li> <li><a href="#libffi">libffi</a></li> - <li><a href="#libelf">libelf</a></li> </ul></li> <li><a href="#other-tooling-requirements">Other Tooling Requirements</a><ul> <li><a href="#gnu-make">GNU Make</a></li> <li><a href="#gnu-bash">GNU Bash</a></li> <li><a href="#autoconf">Autoconf</a></li> --- 56,65 ----
*** 467,483 **** <ul> <li>To install on an apt-based Linux, try running <code>sudo apt-get install libffi-dev</code>.</li> <li>To install on an rpm-based Linux, try running <code>sudo yum install libffi-devel</code>.</li> </ul> <p>Use <code>--with-libffi=&lt;path&gt;</code> if <code>configure</code> does not properly locate your libffi files.</p> - <h3 id="libelf">libelf</h3> - <p>libelf from the <a href="http://sourceware.org/elfutils">elfutils project</a> is required when building the AOT feature of Hotspot.</p> - <ul> - <li>To install on an apt-based Linux, try running <code>sudo apt-get install libelf-dev</code>.</li> - <li>To install on an rpm-based Linux, try running <code>sudo yum install elfutils-libelf-devel</code>.</li> - </ul> - <p>Use <code>--with-libelf=&lt;path&gt;</code> if <code>configure</code> does not properly locate your libelf files.</p> <h2 id="other-tooling-requirements">Other Tooling Requirements</h2> <h3 id="gnu-make">GNU Make</h3> <p>OpenJDK requires <a href="http://www.gnu.org/software/make">GNU Make</a>. No other flavors of make are supported.</p> <p>At least version 3.81 of GNU Make must be used. For distributions supporting GNU Make 4.0 or above, we strongly recommend it. GNU Make 4.0 contains useful functionality to handle parallel building (supported by <code>--with-output-sync</code>) and speed and stability improvements.</p> <p>Note that <code>configure</code> locates and verifies a properly functioning version of <code>make</code> and stores the path to this <code>make</code> binary in the configuration. If you start a build using <code>make</code> on the command line, you will be using the version of make found first in your <code>PATH</code>, and not necessarily the one stored in the configuration. This initial make will be used as &quot;bootstrap make&quot;, and in a second stage, the make located by <code>configure</code> will be called. Normally, this will present no issues, but if you have a very old <code>make</code>, or a non-GNU Make <code>make</code> in your path, this might cause issues.</p> --- 466,475 ----
*** 535,545 **** <li><code>--with-freetype=&lt;path&gt;</code> - Set the path to <a href="#freetype">FreeType</a></li> <li><code>--with-cups=&lt;path&gt;</code> - Set the path to <a href="#cups">CUPS</a></li> <li><code>--with-x=&lt;path&gt;</code> - Set the path to <a href="#x11">X11</a></li> <li><code>--with-alsa=&lt;path&gt;</code> - Set the path to <a href="#alsa">ALSA</a></li> <li><code>--with-libffi=&lt;path&gt;</code> - Set the path to <a href="#libffi">libffi</a></li> - <li><code>--with-libelf=&lt;path&gt;</code> - Set the path to <a href="#libelf">libelf</a></li> <li><code>--with-jtreg=&lt;path&gt;</code> - Set the path to JTReg. See <a href="#running-tests">Running Tests</a></li> </ul> <p>Certain third-party libraries used by OpenJDK (libjpeg, giflib, libpng, lcms and zlib) are included in the OpenJDK repository. The default behavior of the OpenJDK build is to use this version of these libraries, but they might be replaced by an external version. To do so, specify <code>system</code> as the <code>&lt;source&gt;</code> option in these arguments. (The default is <code>bundled</code>).</p> <ul> <li><code>--with-libjpeg=&lt;source&gt;</code> - Use the specified source for libjpeg</li> --- 527,536 ----
common/doc/building.html
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File