Re: [osol-discuss] Regarding GCC
> Dennis Clarke wrote: >> Is this the *exact* same thing that is available for OpenSolaris? I >> thought that the OpenSolaris/Nevada ON bits were still to be built with >> Sun Studio 11? > > No, pretty much all consolidations moved from Studio 11 to Studio 12 > last year. To match the consolidation builds, you would want Studio 12 > (with the specified Nevada CBE patch list) instead of Studio Express. Thank you for the clarification. I had done a successful build with SS12 but could not recall if I was able to get nice results with SSX0903. Dennis ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
Alan Coopersmith wrote: Dennis Clarke wrote: Is this the *exact* same thing that is available for OpenSolaris? I thought that the OpenSolaris/Nevada ON bits were still to be built with Sun Studio 11? No, pretty much all consolidations moved from Studio 11 to Studio 12 last year. To match the consolidation builds, you would want Studio 12 (with the specified Nevada CBE patch list) instead of Studio Express. That patch aspect is rather problematic for 2009.06 users as patchadd isn't available for 2009.06. I've always ended up using the tarball version instead. Cheers, -- Shawn Walker ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
Dennis Clarke wrote: > Is this the *exact* same thing that is available for OpenSolaris? I > thought that the OpenSolaris/Nevada ON bits were still to be built with > Sun Studio 11? No, pretty much all consolidations moved from Studio 11 to Studio 12 last year. To match the consolidation builds, you would want Studio 12 (with the specified Nevada CBE patch list) instead of Studio Express. -- -Alan Coopersmith- alan.coopersm...@sun.com Sun Microsystems, Inc. - X Window System Engineering ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
--- On Thu, 6/11/09, Shawn Walker wrote: > From: Shawn Walker > Subject: Re: [osol-discuss] Regarding GCC > To: dcla...@blastwave.org > Cc: opensolaris-discuss@opensolaris.org, "Karel Gardas" > > Date: Thursday, June 11, 2009, 2:06 PM > Dennis Clarke wrote: > ss, I can only assume you mean this : > > > > Sun Studio Express - March 2009 > Build > > http://developers.sun.com/sunstudio/downloads/express/index.jsp > > > > Is this the *exact* same thing that is available for > OpenSolaris? I > > thought that the OpenSolaris/Nevada ON bits were still > to be built with > > Sun Studio 11? Really, what is the standard? In truth > I do not know. > > The ON situation or projects that have special requirements > are a whole "different ball of wax." I had forgotten > about that whole mess ;) > > But, in general, for most users compiling software, > especially FOSS, they'll have better luck with the newer > compilers due to enhanced gcc compatibility and other > fixes. That's why I don't see a reason to use Studio > 12, and would strongly recommend the express version instead > to any users wanting to compile software on 2009.06. > > Cheers, > -- Shawn Walker I agree on Sun Studio Express 03/09. In using it for a few months now, it is actually an excellent C/C++ compiler although consider 'beta' at the moment. A few quirks, but workarounds come in handy. You don't need Sun Studio 12 if you have a OS capable of installing the Express edition successfully. Just make sure you are consistent in compiling your C++ code with the same compiler (i.e. as much as possible). Otherwise, you may end up with a toothache of sorts... By the way, review those Phoronix testing scripts using Sun Studio or GCC. ~ Ken Mays ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
Dennis Clarke wrote: ss, I can only assume you mean this : Sun Studio Express - March 2009 Build http://developers.sun.com/sunstudio/downloads/express/index.jsp Is this the *exact* same thing that is available for OpenSolaris? I thought that the OpenSolaris/Nevada ON bits were still to be built with Sun Studio 11? Really, what is the standard? In truth I do not know. The ON situation or projects that have special requirements are a whole "different ball of wax." I had forgotten about that whole mess ;) But, in general, for most users compiling software, especially FOSS, they'll have better luck with the newer compilers due to enhanced gcc compatibility and other fixes. That's why I don't see a reason to use Studio 12, and would strongly recommend the express version instead to any users wanting to compile software on 2009.06. Cheers, -- Shawn Walker ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
> Karel Gardas wrote: >> Doesn't `ss-dev' install always Sun Studio Express on OS 2009.06 while the link http://developers.sun.com/sunstudio/downloads/index.jsp provides real Sun Studio version? > > If by "real" Sun Studio you mean the "release" version, then yes, but you'll get a subpar experience with that version IMO. > > There's really no reason I can think of to use that version of Sun Studio ... The difference between commercial grade release and support versus beta grade release. beta -> Sun Studio Express commercial grade -> Sun Studio 12 <-- with 7x24 support :-) With Sun Studio 12 I can buy 7x24 around the clock support for $1,218.00 ( Annual Premium Support is $3.34 a day. A good cup of coffee costs the same. ) which is the *only* way to go given that I am often working at 3AM. Sun Studio Forums are not support. If support does exist then does the OpenSolaris release and its compiler(s) compete directly, and internally, with the commercial grade releases? Those questions are not nearly as important to me as the ability to call at 3AM and ask "why GNU make won't pass its own testsuite with Studio 12 but it will with Studio 11?" So you say "really no reason I can think of to use that version". Shawn, I just gave you the difference that makes *ALL* the difference. Support. The real commercial grade production world needs support and wants to pay for it. Regarding Studio Express, I can only assume you mean this : Sun Studio Express - March 2009 Build http://developers.sun.com/sunstudio/downloads/express/index.jsp Is this the *exact* same thing that is available for OpenSolaris? I thought that the OpenSolaris/Nevada ON bits were still to be built with Sun Studio 11? Really, what is the standard? In truth I do not know. Dennis ps: yes, the example above is true, on a Sol 10 server Studio 12 will result in a 64-bit binary for GNU make that fails the testsuite. Studio 11 creates a valid version. I don't know why, I only know that it happens. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
Jim Langston stated: > I did see this in a pkg search I did, but is > this supported ? > > how is this different than PTL 4820 ? , which is > targeting the integration of GCC 4.3.x into > Nevada/OpenSolaris by svn_130 This one would be replacing gcc3.4, it first has to be able to compile solaris and pass some other testing. > > Jim > > / > > 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 >> >> < < -Seb >> < < < ___ >> < opensolaris-discuss mailing list >> < opensolaris-discuss@opensolaris.org >> >> > > > -- > / > > Jim Langston > Sun Microsystems, Inc. > > (513) 702-4741 (Cell) > (877) 854-5583 (AccessLine) > AIM: jl9594 > jim.langs...@sun.com > -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
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 opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
I did see this in a pkg search I did, but is this supported ? how is this different than PTL 4820 ? , which is targeting the integration of GCC 4.3.x into Nevada/OpenSolaris by svn_130 Jim / 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 < < -Seb < < < ___ < opensolaris-discuss mailing list < opensolaris-discuss@opensolaris.org -- / Jim Langston Sun Microsystems, Inc. (513) 702-4741 (Cell) (877) 854-5583 (AccessLine) AIM: jl9594 jim.langs...@sun.com ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
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 < < -Seb < < < ___ < opensolaris-discuss mailing list < opensolaris-discuss@opensolaris.org -- Sean. . ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
Karel Gardas wrote: Doesn't `ss-dev' install always Sun Studio Express on OS 2009.06 while the link http://developers.sun.com/sunstudio/downloads/index.jsp provides real Sun Studio version? If by "real" Sun Studio you mean the "release" version, then yes, but you'll get a subpar experience with that version IMO. There's really no reason I can think of to use that version of Sun Studio, and I think you'll agree "pfexec pkg install ss-dev" is a lot easier. Currently, installing "ss-dev" will install Sun Studio Express 2009.03 on 111b systems (OpenSolaris 2009.06 systems). Cheers, -- Shawn Walker ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
Doesn't `ss-dev' install always Sun Studio Express on OS 2009.06 while the link http://developers.sun.com/sunstudio/downloads/index.jsp provides real Sun Studio version? Thanks, Karel -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
My mistake - forgot that gcc isn't always installed by default. :) On Wed, Jun 10, 2009 at 2:09 PM, Shawn Walker wrote: > russell aspinwall wrote: >> >> You can download the Sun Studio 12 C, C++ and Fortran compiler from here >> >> http://developers.sun.com/sunstudio/downloads/index.jsp > > If you are using OpenSolaris 2009.06, the right way to install it is by > doing this: > > pfexec pkg install ss-dev > > Cheers, > -- > Shawn Walker > ___ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org > -- " ' With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and warning... The first time any man's freedom is trodden on we’re all damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG episode "The Drumhead" - Alex Smith (K4RNT) - Murfreesboro/Nashville, Tennessee USA ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
russell aspinwall wrote: You can download the Sun Studio 12 C, C++ and Fortran compiler from here http://developers.sun.com/sunstudio/downloads/index.jsp If you are using OpenSolaris 2009.06, the right way to install it is by doing this: pfexec pkg install ss-dev Cheers, -- Shawn Walker ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
You can download the Sun Studio 12 C, C++ and Fortran compiler from here http://developers.sun.com/sunstudio/downloads/index.jsp -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
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 -Seb ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
nitesh wrote: I have installed the opensolaris 2009. I am trying to install gcc-4.4.0. Whenenver i give command gcc on the comand prompt, it tells me command not found. from the gcc tar, i am running "configure" it says no compatible c compiler found. 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. pfexec pkg install gcc-dev ...is the easiest way to get a working gcc compiler and all of the header files, etc. you need to compile software. Cheers, -- Shawn Walker ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Regarding GCC
Sounds like your PATH environment variables aren't set up properly. Check /usr/bin or /usr/sfw/bin for gcc, and update your environment variable appropriately. Hope that helps! :) On Wed, Jun 10, 2009 at 1:24 PM, nitesh wrote: > I have installed the opensolaris 2009. I am trying to install gcc-4.4.0. > Whenenver i give command gcc on the comand prompt, it tells me command not > found. > from the gcc tar, i am running "configure" it says no compatible c compiler > found. > 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. > -- > This message posted from opensolaris.org > ___ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org > -- " ' With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and warning... The first time any man's freedom is trodden on we’re all damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG episode "The Drumhead" - Alex Smith (K4RNT) - Murfreesboro/Nashville, Tennessee USA ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org