home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / convex / 46 < prev    next >
Encoding:
Text File  |  1993-01-27  |  2.2 KB  |  51 lines

  1. Newsgroups: comp.sys.convex
  2. Path: sparky!uunet!math.fu-berlin.de!Sirius.dfn.de!olymp!sfb256!volker
  3. From: volker@sfb256.iam.uni-bonn.de ( Volker A. Brandt )
  4. Subject: Re: gcc - better then standard cc?
  5. Message-ID: <1993Jan25.133110.947@olymp.informatik.uni-bonn.de>
  6. Sender: usenet@olymp.informatik.uni-bonn.de
  7. Organization: Applied Math, University of Bonn, Germany
  8. References: <1993Jan16.213200.11632@fuw.edu.pl>
  9. Date: Mon, 25 Jan 1993 13:31:10 GMT
  10. Lines: 39
  11.  
  12. In article <1993Jan16.213200.11632@fuw.edu.pl> rzm@ipx1.mat.torun.edu.pl (Rafal Maszkowski) writes:
  13. >Why do you people run gcc on Convex? cc is optimized for vector computing.
  14. >Is gcc as well? 
  15. >Is anything else better in gcc?
  16.  
  17. I use gcc for several reasons:
  18.  
  19.   o  it compiles faster (although I have to admit that I have not done
  20.      any real speed comparisons lately)
  21.  
  22.   o  it is MUCH easier to port free software from the net using gcc,
  23.      especially when that software was developed using gcc in the first place.
  24.      gcc runs on many different platforms, so may different software packages
  25.      work with gcc on the first try.
  26.  
  27.   o  gcc has better warning and error detection capabilities (IMHO)
  28.  
  29.   o  gcc includes a full native-code C++ compiler that WORKS (take a look at
  30.      Convex C++ to see what I mean :-)
  31.  
  32.   o  gcc does better scalar optimisation than Convex cc -- I don't know if this
  33.      is still fair to say, but it used to be that gcc code was faster and also
  34.      smaller than cc.  This is also due to sme other tricks, like stdlib inline
  35.      etc.  I have not built any major package with both compilers for a while, 
  36.      so things might have changed.
  37.  
  38. If you want optimal use of Convex hardware and vectorisation, then you should
  39. by all means use Convex cc, that's what it was written to do.  But even then,
  40. gcc comes handy as an additional error-checking tool, as a measure for the 
  41. portability of your code, etc.
  42.  
  43. As usual, I would like the best of both worlds :-)
  44.  
  45. -- Volker
  46. -- 
  47. ----------------------------------------------------------------------------
  48. Bitnet:   UNM409@DBNRHRZ1                              Volker A. Brandt
  49. UUCP:     ...!unido!DBNRHRZ1.bitnet!unm409             Angewandte Mathematik
  50. Internet: volker@sfb256.iam.uni-bonn.de                (Bonn, Germany)
  51.