Mail Archives: djgpp/1995/06/02/14:59:45
Jeff Vogel (Faculty) (jhvogel AT me DOT umn DOT edu) wrote:
: I have recently intalled djgpp112, and switched from using Microsoft's
: QuickC (I put it back in the box - gcc has a lot more features). I have
: been a little disappointed, however, in the size of the coff or .EXE files
: produced. They are, for the few programs I have compared, about 50% larger
: than those produced by QuickC, and if I used Microsoft's /EXEPACK link
: option, the difference is a factor of about 2. Note that this is just comparing
: coff files to QuickC executables.
: My question is this - is there an option I haven't found for producing smaller
: object/executables? I am not including debugging information, and have tried
: optimizing, but so far I haven't changed the size much. I should also mention
: that the programs I have tried are typically about 500 lines of code. Thanks
: for any help.
: --
: Jeff Vogel
: jhvogel AT me DOT umn DOT edu
Try using the '-s' options when linking the objects to make the coff
file, or strip the coff file after linking with the strip command.
This helps some.
--
Adam P. Jenkins
apj AT twain DOT oit DOT umass DOT edu
- Raw text -