On Tue, 27 Feb 2024 11:44:31 GMT, Daniel Jeliński <djelin...@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

Reply via email to