RFR: 8353009: Document target selection flag for Windows AArch64 builds
Saint Wesonga
duke at openjdk.org
Thu Mar 27 18:35:20 UTC 2025
On Thu, 27 Mar 2025 11:37:29 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> Thanks for documenting it ! My colleague used instead '--build=aarch64-pc-cygwin' , is this equivalent ?
I don't think `--build=aarch64-pc-cygwin` is equivalent to `--openjdk-target=aarch64-unknown-cygwin`. The build experts can clarify this but my understanding is that `--openjdk-target` automatically sets the --host and --target options for cross compilation, which I (mistakenly) thought was your scenario. The `--build` option you are using will give you a native build, which is your goal. I filed https://bugs.openjdk.org/browse/JDK-8353066 per your suggestion that it would be good to automatically select the native build instead of requiring a flag for that.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24267#issuecomment-2759060937
More information about the build-dev
mailing list