home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / misc / 3858 < prev    next >
Encoding:
Internet Message Format  |  1992-08-23  |  1.2 KB

  1. Path: sparky!uunet!wupost!bcm!rice!fullmer
  2. From: fullmer@owlnet.rice.edu (Robert Fullmer)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: Pure vs. Demand Paged Sparc Executables
  5. Summary: Trying to generate pure executables
  6. Keywords: Linking, Compiling
  7. Message-ID: <BtGFIH.839@rice.edu>
  8. Date: 23 Aug 1992 20:56:40 GMT
  9. Sender: news@rice.edu (News)
  10. Organization: Rice University
  11. Lines: 20
  12.  
  13. Pure dynamically linked executables on the Sparc are smaller than demand
  14. paged executables. The reason for this, I gather, is that pure
  15. executables are not page aligned, as demand paged executables are, by
  16. default. I've perused the man pages on ld and cc, but haven't yet been
  17. able to successfully generate a pure executable by frobbing the flags.
  18.  
  19. Is there some magic sequence of flags I should pass to ld, or cc, in
  20. order to get more compact executables? I don't mind if the solution is
  21. complex.
  22.  
  23. Yes, I know about strip. Stripped demand paged executables are still
  24. significantly larger than pure executables.
  25.  
  26. RTFMs are ok, but I've already had a good look through the FMs, so
  27. please be specific as to what I should be looking for.
  28.  
  29. Emailed replies would be preferable. If there is interest, I will post a
  30. summary.
  31.  
  32. Rob Fullmer     :     celine@athena.mit.edu     :     fullmer@rice.edu
  33.