-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b61
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8081931 | emb-9 | Erik Joelsson | P4 | Resolved | Fixed | b61 |
The macro SetupNativeCompilation handles various overrides of the compiler and linker used for compilation. There is also a LANG option, which implies that it needs to be told if it's compiling C or C++ when in reality, this is handled automatically. The real purpose of the LANG option is just to decide which executable to use for linking in certain conditions/platforms.
I would like to put some more structure around this by introducing a new macro, DefineNativeToolchain. There will be a default and a couple of others, extending the default, for linking with the C++ compiler, building for the build platform etc. These definitions will help ensure that all the necessary executables and options are overridden for each of these usecases.
I would like to put some more structure around this by introducing a new macro, DefineNativeToolchain. There will be a default and a couple of others, extending the default, for linking with the C++ compiler, building for the build platform etc. These definitions will help ensure that all the necessary executables and options are overridden for each of these usecases.
- backported by
-
JDK-8081931 Introduce DefineNativeToolchain to handle toolchain configurations
-
- Resolved
-