651
652 #### Configure Arguments for Tailoring the Build
653
654 * `--enable-debug` - Set the debug level to `fastdebug` (this is a shorthand
655 for `--with-debug-level=fastdebug`)
656 * `--with-debug-level=<level>` - Set the debug level, which can be `release`,
657 `fastdebug`, `slowdebug` or `optimized`. Default is `release`. `optimized`
658 is variant of `release` with additional Hotspot debug code.
659 * `--with-native-debug-symbols=<method>` - Specify if and how native debug
660 symbols should be built. Available methods are `none`, `internal`,
661 `external`, `zipped`. Default behavior depends on platform. See [Native
662 Debug Symbols](#native-debug-symbols) for more details.
663 * `--with-version-string=<string>` - Specify the version string this build
664 will be identified with.
665 * `--with-version-<part>=<value>` - A group of options, where `<part>` can be
666 any of `pre`, `opt`, `build`, `major`, `minor`, `security` or `patch`. Use
667 these options to modify just the corresponding part of the version string
668 from the default, or the value provided by `--with-version-string`.
669 * `--with-jvm-variants=<variant>[,<variant>...]` - Build the specified variant
670 (or variants) of Hotspot. Valid variants are: `server`, `client`,
671 `minimal`, `core`, `zero`, `zeroshark`, `custom`. Note that not all
672 variants are possible to combine in a single build.
673 * `--with-jvm-features=<feature>[,<feature>...]` - Use the specified JVM
674 features when building Hotspot. The list of features will be enabled on top
675 of the default list. For the `custom` JVM variant, this default list is
676 empty. A complete list of available JVM features can be found using `bash
677 configure --help`.
678 * `--with-target-bits=<bits>` - Create a target binary suitable for running
679 on a `<bits>` platform. Use this to create 32-bit output on a 64-bit build
680 platform, instead of doing a full cross-compile. (This is known as a
681 *reduced* build.)
682
683 #### Configure Arguments for Native Compilation
684
685 * `--with-devkit=<path>` - Use this devkit for compilers, tools and resources
686 * `--with-sysroot=<path>` - Use this directory as sysroot
687 * `--with-extra-path=<path>[;<path>]` - Prepend these directories to the
688 default path when searching for all kinds of binaries
689 * `--with-toolchain-path=<path>[;<path>]` - Prepend these directories when
690 searching for toolchain binaries (compilers etc)
691 * `--with-extra-cflags=<flags>` - Append these flags when compiling JDK C
|
651
652 #### Configure Arguments for Tailoring the Build
653
654 * `--enable-debug` - Set the debug level to `fastdebug` (this is a shorthand
655 for `--with-debug-level=fastdebug`)
656 * `--with-debug-level=<level>` - Set the debug level, which can be `release`,
657 `fastdebug`, `slowdebug` or `optimized`. Default is `release`. `optimized`
658 is variant of `release` with additional Hotspot debug code.
659 * `--with-native-debug-symbols=<method>` - Specify if and how native debug
660 symbols should be built. Available methods are `none`, `internal`,
661 `external`, `zipped`. Default behavior depends on platform. See [Native
662 Debug Symbols](#native-debug-symbols) for more details.
663 * `--with-version-string=<string>` - Specify the version string this build
664 will be identified with.
665 * `--with-version-<part>=<value>` - A group of options, where `<part>` can be
666 any of `pre`, `opt`, `build`, `major`, `minor`, `security` or `patch`. Use
667 these options to modify just the corresponding part of the version string
668 from the default, or the value provided by `--with-version-string`.
669 * `--with-jvm-variants=<variant>[,<variant>...]` - Build the specified variant
670 (or variants) of Hotspot. Valid variants are: `server`, `client`,
671 `minimal`, `core`, `zero`, `custom`. Note that not all
672 variants are possible to combine in a single build.
673 * `--with-jvm-features=<feature>[,<feature>...]` - Use the specified JVM
674 features when building Hotspot. The list of features will be enabled on top
675 of the default list. For the `custom` JVM variant, this default list is
676 empty. A complete list of available JVM features can be found using `bash
677 configure --help`.
678 * `--with-target-bits=<bits>` - Create a target binary suitable for running
679 on a `<bits>` platform. Use this to create 32-bit output on a 64-bit build
680 platform, instead of doing a full cross-compile. (This is known as a
681 *reduced* build.)
682
683 #### Configure Arguments for Native Compilation
684
685 * `--with-devkit=<path>` - Use this devkit for compilers, tools and resources
686 * `--with-sysroot=<path>` - Use this directory as sysroot
687 * `--with-extra-path=<path>[;<path>]` - Prepend these directories to the
688 default path when searching for all kinds of binaries
689 * `--with-toolchain-path=<path>[;<path>]` - Prepend these directories when
690 searching for toolchain binaries (compilers etc)
691 * `--with-extra-cflags=<flags>` - Append these flags when compiling JDK C
|