Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8077824

Introduce DefineNativeToolchain to handle toolchain configurations

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • infrastructure
    • 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.

              erikj Erik Joelsson
              erikj Erik Joelsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: