Re: g++ or sun compiler?

Paul Floyd <[email protected]> Wed, 16 Dec 2009 21:28:14 +0100
Newsgroups gmane.comp.kde.solaris
Message-ID <[email protected]>
Quoting Thorsten Hirsch <[email protected]>:

 > Hi,
 >
 > as far as I've followed your discussions, it seems that most of you
 > are using the SunStudio compiler. Is there a special reason for this?

Time to de-lurk a bit.

Sun Studio is significantly better on SPARC (faster compilation and 
faster compiled code). I haven't done comparisons on i86pc/amd64.

I think that Sun Studio is a requirement within Sun for building things 
in Solaris and OpenSolaris OS. This is probably the fundamental reason. 
Of course, non-Sun built OpenSolaris distributions are free to use GCC.

Personally, I find that "monoglot" code is usually the worse for not 
getting any second (or more) opinions.

 > The compiler notes of Qt 4.6
 > (http://qt.nokia.com/doc/4.6/compiler-notes.html) say, that Sun CC
 > doesn't support all the features, e.g. WebKit is not supported. And -
 > it's been some months since I tried Sun CC - it also failed to compile
 > the concurrent examples.

That is a reflection on the poor support of the platform/compiler 
combination (mostly by WebKit, and partly by Nokia).

Sun Studio can build everything. Some patches are required. Most of 
these are due to Sun Studio being rather strict (IMO a good thing, but 
I'm  stickler for real standards). There are a couple of template 
issues, but I'm not good enough at templates to say whether they are 
genuine ambiguities or not.

A+
Paul
-- 
Paul Floyd                 http://paulf.free.fr


___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.