delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/10/16:11:34

From: Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Sizes of executables
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <c776as4ne58i317rr88lacsjbhl55kr0eg@4ax.com>
References: <MPG DOT 130d0440d417320b989680 AT news1 DOT telia DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 31
X-Trace: /bdhN4U28eL+yN8g0sm0WG4oxqeFuWxWUJNfNwLEQ4hsoFxVEl6BzDa9kAXJZtMprld4kcoXUf0j!Hdkyt/dgscn1CpaJKyO7cyOMEIXhHzYTsLdcqr0kJa+Usqzr3uHf6ELEWAZREydgl0O6D+oBHpAY!OBTLAQ==
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: Thu, 10 Feb 2000 20:20:54 GMT
Distribution: world
Date: Thu, 10 Feb 2000 20:20:54 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Thu, 10 Feb 2000 16:20:44 GMT, ki99_jan AT k DOT kth DOT se (Jonas Alin)
wrote:

>Hello 
>I have some problems in keeping down the sizes of the executables when I 
>link with djgpp. There just MUST be a way to strip them down

strip foo.exe

>because the code of the object files before linking is only a
>small fraction of the huge exe's I get.

The rest is libc.a

>There seem to be a whole lot of unused code in the files.

Does it look like text at the end of the file?  Those are debugging
symbols.

>Does anyone have an answer to this? I am a rather newbie at djgpp 
>(I have been using turbo c++ before).

UPX makes executables really small and makes them load faster off a
floppy.
  http://upx.tsx.org/

-- 
Damian Yerrick  http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html

- Raw text -


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