[kde-solaris] [kde-discuss] Gentle Question
Kunal Deo
Kunal.Deo at Sun.COM
Mon May 12 23:16:39 CEST 2008
This is somewhat old, but confirms what Shawn has to say.
http://www.osnews.com/story/5830/GNU_GCC_versus_Suns_Compiler_in_the_SPARC_Platform
http://www.osnews.com/comments/5830
ABI comp. in GCC comes at a cost. However few things like scheduler
branch scheduler. works better with gcc.
http://gcc.gnu.org/onlinedocs/gcc/Compatibility.html .
However performance issues can be resolved by using flags like -mcpu=v9
or -mcpu=v8
whatever is applicable.
http://blogs.sun.com/alexey/category/Sun?page=1
There is a separate project called gcc4ss which targets at getting
everything running and at the same time faster as well.
http://cooltools.sunsource.net/gcc/
See Alexey's latest blog :
http://blogs.sun.com/alexey/entry/gcc_vs_gccfss_vs_studio
The gap is being bridged. and look at the compatiblity benefits as well
Kunal Deo
On Mon, 2008-05-12 at 15:49 -0500, Shawn Walker wrote:
> On Mon, May 12, 2008 at 3:39 PM, Mats Rojestal
> <mats.rojestal at bredband.net> wrote:
> > I can't figure out what the advantage of using sun compilers is,
> > maybe a death wish. My simple observations from gcc 4.x.x performance is
> > that it's not inferior to other compilers.
> > Solaris is not a major player in the OS market and making it harder to
> > port software to Solaris isn't really a good idea.
>
> It's simple. The GNU C++ complier produces binaries that are not ABI
> compatible with Sun Studio compilers.
>
> In addition, it produces code that is up to 50% slower on SPARC, and
> often slower on x86.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-solaris/attachments/20080513/05fb4de1/attachment.html
More information about the kde-solaris
mailing list