home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1505 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  863 b 

  1. Path: mik.uky.edu!mgwill1
  2. From: mgwill1@mik.uky.edu (matthew williams)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: HUGE executable in g++
  5. Date: 19 Jan 96 22:50:21 GMT
  6. Organization: University of Kentucky, Dept. of Math Sciences
  7. Message-ID: <mgwill1.822091821@mik.uky.edu>
  8. References: <DKyHo0.IFL@cyf-kr.edu.pl> <4d5ice$bdb@t3.mscf.uky.edu>
  9. NNTP-Posting-Host: 128.163.117.20
  10.  
  11.  
  12. I hate to keep following up on myself, but i found the solution to my own 
  13. problem, i had defined an array of structs in my source file which i had 
  14. only intended to be used in ram, gcc apparently included the array inside 
  15. the excutables! (i dont understand why it did this) but i found out if i 
  16. place the keyword 'static' in front of the keyword array it cleared things 
  17. up. I hope this helps anyone who has similar problems. Oh the GNU 
  18. binutils size program is very useful.
  19.  
  20.