home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6709 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news.nask.org.pl!cyfronet!student!iskra
  3. From: iskra@student.uci.agh.edu.pl (Kamil Iskra)
  4. Subject: Re: GCC C++ questions
  5. Message-ID: <Dp6Fsz.MDs@cyf-kr.edu.pl>
  6. Sender: news@cyf-kr.edu.pl (News Administrator)
  7. Nntp-Posting-Host: student.uci.agh.edu.pl
  8. Organization: Academic Computer Centre, CYFRONET
  9. X-Newsreader: TIN [version 1.1 PL8]
  10. References: <4jml8e$416@lectura.CS.Arizona.EDU>
  11. Date: Mon, 1 Apr 1996 09:31:47 GMT
  12.  
  13. Dave Schaumann (dave@CS.Arizona.EDU) wrote:
  14. > >have you tried using the -O flag for compiling?
  15. > Turning on optimization isn't going to do *anything* to the size
  16. > of the libraries linked in.
  17.  
  18. Libraries are already compiled with -O2, like all the other GNU packages
  19. on Amiga, BTW. 
  20.  
  21. > That's right, you heard it here first, folks: turning
  22. > on -O results in a savings of a whopping 32 bytes for this program.
  23. > (Which is actually fairly impressive, considering what's available
  24. > to be optimized).
  25.  
  26. Not really. GCC produces very poor code when not optimizing. 
  27.  
  28. --
  29. / Kamil Iskra - AMIGA 1200, 68030 50MHz, HDD 850 MB, 10 MB RAM \
  30. | iskra@student.uci.agh.edu.pl  kiskra@ernie.icslab.agh.edu.pl |
  31. | http://student.uci.agh.edu.pl/~iskra                         |
  32. \ PGP public key available via Finger or WWW                   /
  33.