[comp.unix.ultrix] gcc vs. cc

mattf@cac.washington.edu (Matthew Freedman) (02/14/91)

Does anybody have any opinions about whether or not it is worthwhile to
use gcc instead of the standard Ultrix 4.0 cc compiler?  In particular 
I am developing X/Motif applications, if that has any relevance.

I hope this does not start a flame war.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
= Matthew M. Freedman                                                 =
= U. of Washington Information Systems       mattf@cac.washington.edu =
= 4545 15th Ave. NE; 4th Floor               (206) 543-5593           =
= Seattle, WA  98105                                                  =
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

sfreed@ariel.unm.edu (Steven Freed CIRT) (02/14/91)

In article <16392@milton.u.washington.edu>, mattf@cac.washington.edu (Matthew Freedman) writes:
> Does anybody have any opinions about whether or not it is worthwhile to
> use gcc instead of the standard Ultrix 4.0 cc compiler?  In particular 

I have found through my experiences that gcc is more reliable, more bug free 
than DEC's cc. gcc is also (as far as I have been able to tell) ANSII C
complient.

--

Thanks,
Steve.                    sfreed@ariel.unm.edu

grunwald@foobar.colorado.edu (Dirk Grunwald) (02/14/91)

I concurr; gcc is a little more reliable than the 4.0/4.1 mips CC. The
running application is 10%->20% slower, comparing highest levels of
optimization.

morten@modulex.dk (Morten Hastrup) (02/14/91)

mattf@cac.washington.edu (Matthew Freedman) writes:

>Does anybody have any opinions about whether or not it is worthwhile to
>use gcc instead of the standard Ultrix 4.0 cc compiler?  In particular 
>I am developing X/Motif applications, if that has any relevance.

First of all, you writes notthing about your system (VAX or RISC ?).

On the destribution tape to X there is a configuration file to "Imake".
In this file MIT writes that if you system is VAX: Better get gcc!!

Besides this we have tryed out gcc on our RISC yesterday, and it worked
very well - It detected on rather nasty error wich was by-passed by
ULTRIX cc ?!

Morten

--------------------------------------------------
A/S MODULEX		| Phone: +45 44 53 30 11
Lyskaer 15		| Fax:   +45 44 53 30 74
DK-2730 Herlev		|
Denmark			|
Morten Hastrup		| Email: morten@modulex.dk
--------------------------------------------------

frank@croton.nyo.dec.com (Frank Wortner) (02/14/91)

In article <16392@milton.u.washington.edu>, mattf@cac.washington.edu
(Matthew Freedman) writes:

> Does anybody have any opinions about whether or not it is worthwhile to
> use gcc instead of the standard Ultrix 4.0 cc compiler?

No real opinion, but if you do want to use gcc, you should probably consider
the OSF-enhanced version.  It has debugger support --- the "-g" option works.

It's available from gatekeeper.dec.com (and probably several other archives).
Look in pub/GNU/osf.

					Frank