Re: Compiler support

Derek Konigsberg <[email protected]>
Newsgroups gmane.comp.kde.solaris
Message-ID <[email protected]>
I should also mention that Sun now has a version of GCC 4.x on their 
website that is back-ended with their SPARC code generator.  In other 
words, a version of GCC that probably produces much better binary output 
for SPARC than the normal GCC.

-Derek


On Thu, 10 May 2007, Lars Tunkrans wrote:

> Ananth A wrote:
>> Hello,
>>
>> i am new to this list and was going through some of the list archives.
>>
>> i have a question regarding which compiler to use/support for kde
>> since i couldnt figure out if a consensus was reached or not.
>>
>> gcc, suncc or both ?
>>
>> before i start compiling/testing the kde sources, which compiler would
>> you recommend to use ???
>>
>> i am assuming that gcc/g++ would be easier since most of linux/bsd
>> folks would use gcc and would require less patch work of the default
>> svn code.
>>
>> does opensolaris require full support compiled under sun studio also
>> for running kde or would a binary from gcc be good enough ??
>>
>> is there any technical advantage of using one compiler over the other ??
>>
>>
>> i am currently running belenix on an athlon xp machine.
>>
>>
>
>    Lots of people have  compiled  KDE  with GCC   including  myself.
>  It is not  difficult, basically no Patches  at  all  is needed  not
> even using a SPARC workstation.
>
>
>  GCC  is included in Solaris/OpenSolaris   as      /usr/sfw/bin/gcc
>
> $ uname -a
> SunOS shuttle 5.11 snv_63 i86pc i386 i86pc
> $ pwd
> /usr/sfw/bin
> $ ./gcc -v
> Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
> Configured with: /builds1/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
> --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
> --with-ld=/usr/ccs/bin/ld --without-gnu-ld
> --enable-languages=c,c++,f77,objc --enable-shared
> Thread model: posix
> gcc version 3.4.3 (csl-sol210-3_4-20050802)
>
>
>  Sun's Studio Compilers (  which are now free for  Sun Devloper Network
> members )
>     http://developers.sun.com/sunstudio/downloads/
>
>  And also included  in Solaris Express Developer Edition
>
> $ cd /opt/SUNWspro/bin
> $ ./cc -V
> cc: Sun C 5.9 SunOS_i386 Build40_1 2007/02/08
>
>
>  The studio compilers  has  always  generated faster  binaries  than GCC
>  although  GCC has picked up speed during the latter years.
>
>   The latest  Studio 11  and Studio 12 ( Beta )    releases  have
> rolled out
>   Improved  support  for AMD processors  including  SSE2/3DNOW  support ,
>  small  and medium  Memory models  ( medium is for apps  larger than  2
> GB  memory  footprint )
>  and  automatic parallelization of code  for multicore CPU  systems.
>
>
> Stefan Teleman   has literally spent years   at building  KDE with
> sunstudio  and you will find
> links to where  all his pathces  are held in the KDE-Solaris  mailing
> list archives.
>
> //Lars
>
>
> ___________________________________________________
> 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.
>

---------------------------
Derek Konigsberg
[email protected]
http://hecgeek.blogspot.com
---------------------------
___________________________________________________
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.