RFR: 8326583: Remove over-generalized DefineNativeToolchain solution [v4]

Magnus Ihse Bursie ihse at openjdk.org
Tue Feb 27 12:01:53 UTC 2024


On Tue, 27 Feb 2024 11:44:31 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> FWIW, when I added -lstdc++ before both -static-libstdc++ and replaced LDCXX with LD, the code compiled and linked just fine.
Both GCC and G++ call the same linker, and the parameter differences are well documented. It's only a matter of deciding if we want to keep the complexity of selecting the executable to use or not.

My thinking matches yours. It would be nice to get rid of LDCXX. I'll look into it as a follow-up project.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17986#issuecomment-1966390350


More information about the core-libs-dev mailing list