Solaris Sparc version used to build binaries?

Dalibor Topic Dalibor.Topic at Sun.COM
Tue Sep 15 11:52:11 PDT 2009


Byron Nevins wrote:
> I've looked all over the openjdk site for instructions on building JDK6
> on Solaris.  Can you point me to instructions?

For the current OpenJDK 6 tip, I'll post an updated README-builds.html for 
review later but you could give this a try:

OpenSolaris

    OpenSolaris 2009.06

        After installing OpenSolaris 2009.06 you need to install several build dependencies. The simplest way to install the build dependencies is to execute the following commands:

        pfexec pkg install SUNWgmake SUNWj6dev SUNWant sunstudioexpress SUNWcups SUNWzip SUNWunzip SUNWxwhl SUNWxorg-headers SUNWaudh SUNWfreetype2 SUNWmfrun

        In addition, it is necessary to set a few environment variables for the build:

        export LANG=C ALT_COMPILER_PATH=/opt/SunStudioExpress/bin/ ALT_CUPS_HEADERS_PATH=/usr/include/

        Finally, you need to make sure that the build process can find the Sun Studio compilers:

        export PATH=$PATH:/opt/SunStudioExpress/bin/ 

Note that the instructions above are for OpenSolaris 2009.06, rather then Solaris 8,
so YMMV - afaik 2009.06 has SPARC support, but I am not aware of an emulator
that I could use to install that version in to produce build docs with. VirtualBox
rocks for x86 & amd64, though.

cheers,
dalibor topic

-- 
*******************************************************************
Dalibor Topic                   Tel: (+49 40) 23 646 738
Java F/OSS Ambassador           AIM: robiladonaim
Sun Microsystems GmbH           Mobile: (+49 177) 2664 192
Nagelsweg 55                    http://openjdk.java.net
D-20097 Hamburg                 mailto:Dalibor.Topic at sun.com
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Häring




More information about the jdk6-dev mailing list