home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 19146 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  821 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!frmop11!psuvm!rvk
  2. Organization: Penn State University
  3. Date: Sun, 3 Jan 1993 00:42:25 EST
  4. From: <RVK@psuvm.psu.edu>
  5. Message-ID: <93003.004225RVK@psuvm.psu.edu>
  6. Newsgroups: comp.lang.c
  7. Subject: [FAQ] size of executables ?
  8. Lines: 10
  9.  
  10. Hi, my question may be a faq, but I am asking it nevertheless.
  11.  
  12. How does one compile a c program so that the size of the
  13. executable is as small as possible. I noticed that even a
  14. trivial program like Hello.c  produces a huge executable,
  15. perhaps due to the include files stdio.h etc. Of course,
  16. I can not do any i/o without stdio.h . On the other hand,
  17. I am not using all the stuff that's there in stdio.h, and
  18. feel that the size of the executable should be proportional
  19. to what I am using. Any suggestions ?
  20.