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