delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/25/20:51:24

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: EXE files too big!
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <o0mqdskei6jkr3or9b64skepq1ja7h5dsm@4ax.com>
References: <8bjhuu$8pt$1 AT newssrv DOT otenet DOT gr>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 25
X-Trace: /Kw5eDS+5HLEXMuvMJdDWwq4u5/SLnFIxp0CEBD/BSoD29w4xpW38CCq+prcHqbe5CmZwtLZ/Eqv!kadsoVCZwsnspEJjRNGwfkmdgbbYgVGZ5prCqx75dri6JcfpUKB75UPCYp7Jtw7H9APUlZ0VHQoq!1eOPwlE=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sun, 26 Mar 2000 00:25:13 GMT
Distribution: world
Date: Sun, 26 Mar 2000 00:25:13 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sun, 26 Mar 2000 01:27:12 +0200, "Bad Sector" <kom000 AT otenet DOT gr>
wrote:

>I saw that DJGPP creates very big files. DJGPP stores many debugging
>info in EXE files. That is good for debugging my apps, but if i want
>to give these apps to others they must be smaller. the question is:
>how can i turn off this debugging info?

Here's what I do:

1. Download and install UPX.  http://upx.tsx.org/
2. Run UPX on your executables.
     c:\>upx -9 foo.exe

UPX strips the debugging symbols from DJGPP/COFF executables,
compresses what's left (code and data tables), and adds a
decompressor stub at the beginning.

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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