tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: radgovwa () wt ! com ! au
To: tru64-unix-managers
Subject: SUMMARY: cc v gcc ?
Date: Tue, 25 Mar 1997 08:12:49 +0000	[thread overview]
Message-ID: <96078609810612.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks to the following for their replies and sorry for the slow 
summary.

barnwell@jbsvax.eksystems.com
Jacobo Pirez Lajo (adm) <jacobo@gbien.tel.uva.es>
Richard Eisenman <eisenman@tricity.wsu.edu>
Anthony Talltree <aad@nwnet.net>

Their replies are repeated in full below.

It seems that there are advantages to both and I intend to compile
each program using cc and then gcc and compare the results. That is I
need to do a bit of a study. The case that I do know of (the one that
generated the question)is vim-4.6. Using cc the vim came out to be 1.2
MB, with gcc vim came out to be 0.647 MB!

I still would like to get pointers to anymore info.

Bevan


>From: barnwell@jbsvax.eksystems.com (Barnwell@eksystems.com voice
>508-303-6905)
>
>my experience is that decs cc produces better code and actually takes
>less time to do the compile but gcc is not that much worse and it
>gives a measure of transportability since it is aviable on many
>platforms. but for speed I think the DEC cc compiler is ahead
>
>JB


>From: "Jacobo Pirez Lajo (adm)" <jacobo@gbien.tel.uva.es>
>
>Hi!,
>
>I have also installed cc and gcc and I always use gcc, the reason is
>that I have found some programs that could not be compiled with cc
>without problems. I have to admit that gcc generates quite a lot of
>warnings that cc doesn't; but from what I have seen, gcc provides a
>much more compact and faster code than cc. This is based upon a study
>that I had to develope a couple of years ago for a subject about
>computer's archichectures and  benchmarks ; then I worked with some
>Sparc10 and Sparc20 and, of course, my dearest i486/33. Always gcc
>generated code was better.
>
>I have not repeated the study for Alpha, but I have found no problems
>yet=
>
>when working with gcc (except those about the number of warnings ...
>every program compiled here runs OK). Perhaps it is only my ponit of
>view, but I do prefer gcc ...


>From: Richard Eisenman <eisenman@tricity.wsu.edu>
>
>I use either, depending on whether or not the original source was =
>compiled with cc or gcc, or whether there are problems with one and
>not = the other vis a vis specific source.  No problems with
>executables = either way, but then, I'm not looking for maximum
>optimization.


>From: Anthony Talltree <aad@nwnet.net>
>
>I've found DEC's cc to generate better and more reliable code on this
>platform.

                 reply	other threads:[~1997-03-25  8:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox