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 -V cc: Sun Ceres C 5.10 SunOS_i386 2008/04/04Descomprimir i instal·lar el fitxer jds-cbe-1.6.2-i386.tar.bz2
$ tar jxvf jds-cbe-1.6.2-i386.tar.bz2 $ 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]:Pitgem no i després [ENTER]
Installing the JDS Common Build Environment (CBE) version 1.6.2 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]:Pitgem /opt/SunStudioExpress/bin/cc i després [ENTER]
/opt/SunStudioExpress/bin/cc is not the recommended compiler "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]:Pitgem yes i després [ENTER]
cc: Sun Ceres C 5.10 SunOS_i386 2008/04/04 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]:Pitgem [ENTER]
JDS Common Build Environment (CBE) ja està instalat al vostre sistema
Cap comentari:
Publica un comentari a l'entrada