Instal·lar JDS Common Build Environment (CBE)
Descarregar CBE de http://dlc.sun.com/ arxiu jds-cbe-X.Y.Z-i386.tar.bz2 per a intel o jds-cbe-X.Y.X-sparc.tar.bz2 per a sparc:
En aquest exemple arquitectura Intel (i386) X.Y.Z (1.6.2) ..
Instal·lar sunstudio
$ pfexec pkg install sunstudioPer veure la versió del compilador
$ /opt/SunStudioExpress/bin/cc -VDescomprimir i instal·lar el fitxer jds-cbe-1.6.2-i386.tar.bz2
cc: Sun Ceres C 5.10 SunOS_i386 2008/04/04
$ tar jxvf jds-cbe-1.6.2-i386.tar.bz2Pitgem no i després [ENTER]
$ cd jds-cbe-1.6.2
sh ./cbe-install
Checking for required packages...
Package SUNWsfwhea is required for building JDS
Would you like to install it now? [yes]:
Installing the JDS Common Build Environment (CBE) version 1.6.2Pitgem /opt/SunStudioExpress/bin/cc i després [ENTER]
The recommended C compiler(s) for this version of the JDS CBE is/are:
Sun Studio 11 (Venus) + patches (cc: Sun C 5.8 Patch 121016-05 2007/01/10)
Sun Studio 11 (Venus) (cc: Sun C 5.8 Patch 121016-02 2006/03/31)
Sun Studio 10 (Vulcan) (cc: Sun C 5.7 Patch 117837-04 2005/05/11)
Enter the path to the C compiler [/usr/gnu/bin/cc]:
/opt/SunStudioExpress/bin/cc is not the recommended compilerPitgem yes i després [ENTER]
"cc -V" should print one of the following:
cc: Sun C 5.8 Patch 121016-05 2007/01/10
cc: Sun C 5.8 Patch 121016-02 2006/03/31
cc: Sun C 5.7 Patch 117837-04 2005/05/11
Would you like to use this compiler anyway? [no]:
cc: Sun Ceres C 5.10 SunOS_i386 2008/04/04Pitgem [ENTER]
usage: cc [ options] files. Use 'cc -flags' for details
This version of the CBE comes with some optional utilities.
These are not required for building the JDS code, nevertheless
they are useful to have on your system.
Please see the README file for the list of optional utilities.
Would you like to install the optional packages? [yes]:
JDS Common Build Environment (CBE) ja està instalat al vostre sistema

0 comentaris:
Publica un comentari