Tuesday, April 15, 2014

Solaris 11: Installing GCC


i'm pretty sure this is required first so that the pkg thing can find it's way out to the internet to the http://pkg.oracle.com/ site

 exc04-sv02d:~ # set|fgrep -i proxy
 ftp_proxy=http://167.123.1.1:3128/
 http_proxy=http://167.123.1.1:3128/



 exc04-sv02d:/ # pkg install pkg:/developer/gcc-3@3.4.3-0.175.0.0.0.2.537


I've chose gcc-3 because the two libgcc shared libraries that were already installed, seem to be compiled with GCC-3

 /usr/sfw/lib/libgcc_s.so.1
 /usr/sfw/lib/sparcv9/libgcc_s.so.1



 exc04-sv02d:~ # strings -a /usr/sfw/lib/libgcc_s.so.1|fgrep GCC:|head
 GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)
 GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)
 GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)
 GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)
 GCC: (GNU) 3.4.3 (csl-sol210-3_4-20050802)




No comments:

Post a Comment