Sean McGrath wrote:
Sebastien Roy stated:
<
< On Wed, 2009-06-10 at 11:24 -0700, nitesh wrote:
< > Is any c/c++ compiler is available with this release of open solaris. If
< > yes at which location it is located in installation. Or how can i configure
< > it to point to the gcc installation, if it is with the OS.
< >
< > Or from where i can get the gcc compiler installer and how can i install it.
<
< It is in the repository. You can install it by installing the "GNU
< Tools Development cluster" named "gcc-dev". E.g.:
<
< pfexec pkg install gcc-dev
While that gets you gcc3.4, you can get gcc4.3 as well:
pfexec pkg install developer/gcc/gcc-432
The important thing about gcc-dev is that it also gets you the system
headers you'll need to compile things (such as SUNWhea), GNU automake,
etc. gcc-432 doesn't give you any of those things.
Thankfully, there's also a gcc-dev-4 package now if you want all of the
above plus gcc-4.3.2.
Be aware though that the gcc 4.x series can generate problematic code
for some projects (such as ON). So you might need to try the older
version of gcc with some software.
Cheers,
--
Shawn Walker
_______________________________________________
opensolaris-discuss mailing list
[email protected]