182 <td style="text-align: left;">Linux</td> |
182 <td style="text-align: left;">Linux</td> |
183 <td style="text-align: left;">Oracle Enterprise Linux 6.4 / 7.6</td> |
183 <td style="text-align: left;">Oracle Enterprise Linux 6.4 / 7.6</td> |
184 </tr> |
184 </tr> |
185 <tr class="even"> |
185 <tr class="even"> |
186 <td style="text-align: left;">Solaris</td> |
186 <td style="text-align: left;">Solaris</td> |
187 <td style="text-align: left;">Solaris 11.3</td> |
187 <td style="text-align: left;">Solaris 11.3 SRU 20</td> |
188 </tr> |
188 </tr> |
189 <tr class="odd"> |
189 <tr class="odd"> |
190 <td style="text-align: left;">macOS</td> |
190 <td style="text-align: left;">macOS</td> |
191 <td style="text-align: left;">Mac OS X 10.13 (High Sierra)</td> |
191 <td style="text-align: left;">Mac OS X 10.13 (High Sierra)</td> |
192 </tr> |
192 </tr> |
295 <td style="text-align: left;">Windows</td> |
295 <td style="text-align: left;">Windows</td> |
296 <td style="text-align: left;">Microsoft Visual Studio 2017 update 15.9.6</td> |
296 <td style="text-align: left;">Microsoft Visual Studio 2017 update 15.9.6</td> |
297 </tr> |
297 </tr> |
298 </tbody> |
298 </tbody> |
299 </table> |
299 </table> |
|
300 <p>All compilers are expected to be able to compile to the C99 language standard, |
|
301 as some C99 features are used in the source code. Microsoft Visual Studio |
|
302 doesn't fully support C99 so in practice shared code is limited to using C99 |
|
303 features that it does support.</p> |
300 <h3 id="gcc">gcc</h3> |
304 <h3 id="gcc">gcc</h3> |
301 <p>The minimum accepted version of gcc is 4.8. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p> |
305 <p>The minimum accepted version of gcc is 4.8. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p> |
302 <p>The JDK is currently known to be able to compile with at least version 7.4 of gcc.</p> |
306 <p>The JDK is currently known to be able to compile with at least version 7.4 of gcc.</p> |
303 <p>In general, any version between these two should be usable.</p> |
307 <p>In general, any version between these two should be usable.</p> |
304 <h3 id="clang">clang</h3> |
308 <h3 id="clang">clang</h3> |
495 <li><code>--with-x=<path></code> - Set the path to <a href="#x11">X11</a></li> |
499 <li><code>--with-x=<path></code> - Set the path to <a href="#x11">X11</a></li> |
496 <li><code>--with-alsa=<path></code> - Set the path to <a href="#alsa">ALSA</a></li> |
500 <li><code>--with-alsa=<path></code> - Set the path to <a href="#alsa">ALSA</a></li> |
497 <li><code>--with-libffi=<path></code> - Set the path to <a href="#libffi">libffi</a></li> |
501 <li><code>--with-libffi=<path></code> - Set the path to <a href="#libffi">libffi</a></li> |
498 <li><code>--with-jtreg=<path></code> - Set the path to JTReg. See <a href="#running-tests">Running Tests</a></li> |
502 <li><code>--with-jtreg=<path></code> - Set the path to JTReg. See <a href="#running-tests">Running Tests</a></li> |
499 </ul> |
503 </ul> |
500 <p>Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms and zlib) are included in the JDK repository. The default behavior of the JDK 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><source></code> option in these arguments. (The default is <code>bundled</code>).</p> |
504 <p>Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms and zlib) are included in the JDK repository. The default behavior of the JDK build is to use the included ("bundled") versions of libjpeg, giflib, libpng and lcms. For zlib, the system lib (if present) is used except on Windows and AIX. However the bundled libraries may be replaced by an external version. To do so, specify <code>system</code> as the <code><source></code> option in these arguments. (The default is <code>bundled</code>).</p> |
501 <ul> |
505 <ul> |
502 <li><code>--with-libjpeg=<source></code> - Use the specified source for libjpeg</li> |
506 <li><code>--with-libjpeg=<source></code> - Use the specified source for libjpeg</li> |
503 <li><code>--with-giflib=<source></code> - Use the specified source for giflib</li> |
507 <li><code>--with-giflib=<source></code> - Use the specified source for giflib</li> |
504 <li><code>--with-libpng=<source></code> - Use the specified source for libpng</li> |
508 <li><code>--with-libpng=<source></code> - Use the specified source for libpng</li> |
505 <li><code>--with-lcms=<source></code> - Use the specified source for lcms</li> |
509 <li><code>--with-lcms=<source></code> - Use the specified source for lcms</li> |