RFR: 8326583: Remove over-generalized DefineNativeToolchain solution [v3]
Magnus Ihse Bursie
ihse at openjdk.org
Tue Feb 27 11:19:59 UTC 2024
On Tue, 27 Feb 2024 08:14:56 GMT, Julian Waters <jwaters at openjdk.org> wrote:
> can we get rid of LDCXX?
Yeah, that is something I plan to look into. Linking C++ object files with gcc will fail; and it might be that linking pure C with g++ might be problematic. If this is the case, I hope we can at least determine this automatically which linker frontend to use, i.e. selecting g++ as linker frontend if there is at least one .cpp file in the set of sources.
This PR is actually a kind of prerequisite for that kind of work.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17986#issuecomment-1966312751
More information about the build-dev
mailing list