home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12322 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.5 KB  |  33 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!mips!odin!fido!zola!zuni!anchor!olson
  3. From: olson@anchor.esd.sgi.com (Dave Olson)
  4. Subject: Re: Slow C compiler??
  5. Message-ID: <ogmv800@zuni.esd.sgi.com>
  6. Sender: news@zuni.esd.sgi.com (Net News)
  7. Organization:  Silicon Graphics, Inc.  Mountain View, CA
  8. References: <HARI.92Aug12135105@robios5.me.wisc.edu>
  9. Distribution: comp
  10. Date: Thu, 13 Aug 92 05:21:20 GMT
  11. Lines: 20
  12.  
  13. In <HARI.92Aug12135105@robios5.me.wisc.edu> hari@robios.me.wisc.edu (Kambainathan Hari) writes:
  14. | I have a Personal Iris and about a couple of months ago we upgraded
  15. | the Op. System. Before the Upgrade the compilation was *slow* and
  16. | after the upgrade it has gotten *even slower*. 
  17. | Is there anything I can do about it like setting flags while using cc,
  18. | or using a different compiler ?? Or is just a case that linking the
  19. | X11 library and using graphics takes so much time  and nothing can be
  20. | done about it since there is graphics in the code and hence the
  21. | executables produced  are much longer?? Sorry I don't know enough
  22. | about compilers to figure it out myself.
  23.  
  24. Try adding -v to your cc line, and see which compiler pass is taking
  25. a long time.  After knowing that, you may be able to figure out
  26. how cut down the time (or post the results for a 'typical' compile
  27. here).
  28. --
  29. Let no one tell me that silence gives consent,  |   Dave Olson
  30. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  31.     Maria Isabel Barreno                        |   olson@sgi.com
  32.