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

OpenSolaris makefile default adjustments

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 7
    • 7
    • infrastructure
    • generic, sparc
    • generic, open_solaris

      The jdk makefiles need some adjustments for easy building on OpenSolaris.

      1. ALT_DEVTOOLS_PATH needs a default of /usr/bin

      2. Use /opt/SunStudioExpress/bin/ as a possible default path to Sun Studio compilers for ALT_COMPILER_PATH

      3. ALT_CUPS_HEADERS_PATH=/usr/include should be the default

      4. Consider making some of these be default settings instead of sanity checks: LANG=C ; unset JAVA_HOME

      5. Consider adding this to control build before building hotspot: PATH="${COMPILER_PATH}:${PATH}"
      6. Do not depend on GCC being there.

      Building OpenJDK on latest OpenSolaris 2008.11 you get strange gcc errors, it can build, just annoying

      gmake ALT_CUPS_HEADERS_PATH=/usr/include sanity ALT_BINARY_PLUGS_PATH=${HOME}/import/openjdk-binary-plugs
      /bin/sh: line 1: /NOT-SET/devtools/i586/gnucc/bin/gcc: not found
      /bin/sh: line 1: /NOT-SET/devtools/i586/gnucc/bin/gcc: not found
      gmake[1]: Entering directory `/export/home/ohair/hgws/jdk7/jdk7-open/jdk/make'
      /bin/sh: line 1: /NOT-SET/devtools/i586/gnucc/bin/gcc: not found
      gmake[1]: Leaving directory `/export/home/ohair/hgws/jdk7/jdk7-open/jdk/make

      from 6790579

            ohair Kelly Ohair (Inactive)
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: