On Thu, 27 Mar 2025 11:37:29 GMT, Matthias Baesken <mbaes...@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