delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/16/22:58:15

Date: Thu, 17 Mar 94 12:01:48 JST
From: Stephen Turnbull <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp>
To: tcmayo AT eng54 DOT psf DOT ge DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: DJGPP Executable Sizes

Possibly you didn't strip the executable first.
    GNU C includes a lot of stuff for the debugging tools (symbol
tables).  In the case of Ghostscript, the executable goes from 4.5MB
to 1.3 MB when stripped....
    syntax:  `strip <linked-prog-name>'
(That's the output from the linker, *before* you COFF2EXE it.  It
replaces the old file with the new one, so make sure you don't want to
do any more debugging....)  Then COFF2EXE as usual.
    --Steve

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019