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

Allow C++ library headers on Solaris Studio

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • None
    • infrastructure
    • None
    • b21

      When we build the JDK on solaris studio, we use -library=%none for both CFLAGS and LDFLAGS to ensure there are no dependencies to the C++ standard libraries in the resulting binaries. However, it is enough to do it only for LDFLAGS. Instead, CFLAGS could provide a reasonable C++ library such as -library=stlport4 that is already used by the gtest launcher. That way, header files with useful constants and other useful things that do not require linking may be used during the compilation.

            eosterlund Erik Ă–sterlund
            eosterlund Erik Ă–sterlund
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: