375 Solaris Oracle Solaris Studio
376 AIX IBM XL C/C++
377 Windows Microsoft Visual Studio
378
379 Please see the individual sections on the toolchains for version
380 recommendations. As a reference, these versions of the toolchains are used, at
381 the time of writing, by Oracle for the daily builds of OpenJDK. It should be
382 possible to compile OpenJDK with both older and newer versions, but the closer
383 you stay to this list, the more likely you are to compile successfully without
384 issues.
385
386 Operating system Toolchain version
387 ------------------ -------------------------------------------------------
388 Linux gcc 4.9.2
389 macOS Apple Xcode 6.3 (using clang 6.1.0)
390 Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13)
391 Windows Microsoft Visual Studio 2013 update 4
392
393 ### gcc
394
395 The minimum accepted version of gcc is 4.3. Older versions will not be accepted
396 by `configure`.
397
398 However, gcc 4.3 is quite old and OpenJDK is not regularly tested on this
399 version, so it is recommended to use a more modern gcc.
400
401 OpenJDK 9 includes patches that should allow gcc 6 to compile, but this should
402 be considered experimental.
403
404 In general, any version between these two should be usable.
405
406 ### clang
407
408 The minimum accepted version of clang is 3.2. Older versions will not be
409 accepted by `configure`.
410
411 To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
412
413 ### Apple Xcode
414
415 The oldest supported version of Xcode is 5.
416
417 You will need the Xcode command lines developers tools to be able to build
418 OpenJDK. (Actually, *only* the command lines tools are needed, not the IDE.)
419 The simplest way to install these is to run:
|
375 Solaris Oracle Solaris Studio
376 AIX IBM XL C/C++
377 Windows Microsoft Visual Studio
378
379 Please see the individual sections on the toolchains for version
380 recommendations. As a reference, these versions of the toolchains are used, at
381 the time of writing, by Oracle for the daily builds of OpenJDK. It should be
382 possible to compile OpenJDK with both older and newer versions, but the closer
383 you stay to this list, the more likely you are to compile successfully without
384 issues.
385
386 Operating system Toolchain version
387 ------------------ -------------------------------------------------------
388 Linux gcc 4.9.2
389 macOS Apple Xcode 6.3 (using clang 6.1.0)
390 Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13)
391 Windows Microsoft Visual Studio 2013 update 4
392
393 ### gcc
394
395 The minimum accepted version of gcc is 4.7. Older versions will generate a warning
396 by `configure` and are unlikely to work.
397
398 OpenJDK 9 includes patches that should allow gcc 6 to compile, but this should
399 be considered experimental.
400
401 In general, any version between these two should be usable.
402
403 ### clang
404
405 The minimum accepted version of clang is 3.2. Older versions will not be
406 accepted by `configure`.
407
408 To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
409
410 ### Apple Xcode
411
412 The oldest supported version of Xcode is 5.
413
414 You will need the Xcode command lines developers tools to be able to build
415 OpenJDK. (Actually, *only* the command lines tools are needed, not the IDE.)
416 The simplest way to install these is to run:
|