From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078609810612.tru64-unix-managers.marc@archive.invalid> From: radgovwa () wt ! com ! au Date: Tue, 25 Mar 1997 08:12:49 +0000 To: tru64-unix-managers Subject: SUMMARY: cc v gcc ? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078609810612 Thanks to the following for their replies and sorry for the slow summary. barnwell@jbsvax.eksystems.com Jacobo Pirez Lajo (adm) Richard Eisenman Anthony Talltree 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)" > >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 > >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 > >I've found DEC's cc to generate better and more reliable code on this >platform.