From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,6c6aedeaa557029f X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-01-13 15:42:17 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!agate.berkeley.edu!agate!not-for-mail From: peterm@CSUA.Berkeley.EDU (Peter Mardahl) Newsgroups: comp.os.linux.alpha Subject: Re: compaq cc / c++ or gcc? Date: Sun, 13 Jan 2002 23:42:12 +0000 (UTC) Organization: Unknown Message-ID: References: <3C407280.2030909@MAPSONnetscape.net> NNTP-Posting-Host: soda.csua.berkeley.edu X-Trace: agate.berkeley.edu 1010965332 50812 128.32.247.226 (13 Jan 2002 23:42:12 GMT) X-Complaints-To: usenet@agate.berkeley.edu NNTP-Posting-Date: Sun, 13 Jan 2002 23:42:12 +0000 (UTC) Originator: peterm@CSUA.Berkeley.EDU (Peter Mardahl) Xref: archiver1.google.com comp.os.linux.alpha:4639 In article <3C407280.2030909@MAPSONnetscape.net>, bbmarkz wrote: >Would it be a good idea to replace gcc with the Compaq cc & c++ compilers: Install and use Compaq cc and c++ (called ccc and cxx)? GOOD idea. Replace gcc? No, BAD idea. ccc and cxx from compaq are GOOD compilers. However, the Linux kernel, and possibly other programs, rely on features present only in gcc/g++. On my own benchmarks, cxx produces code which runs about 50% faster than gcc. My opinion is to use cxx and ccc whenever possible. PM > http://www.compaq.com/products/software/compilers/candcxx.html > >on my Alpha Linux box? > >In other words, I'd keep gcc but use it only when the compaq compilers >fail.... > >-bb >