www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/26/08:25:36

From: "Peter Korsgaard" <jacmet AT kom DOT auc DOT dk>
Newsgroups: comp.os.msdos.djgpp
References: <hJFm3.236$3c4 DOT 298 AT news DOT get2net DOT dk> <7nfd9i$sns$1 AT news DOT gate DOT net>
Subject: Re: makig tiny programs with djgpp
Lines: 21
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <MmNm3.723$3c4.731@news.get2net.dk>
Date: Mon, 26 Jul 1999 01:46:51 +0200
NNTP-Posting-Host: 195.47.131.56
X-Complaints-To: abuse AT get2 DOT net
X-Trace: news.get2net.dk 932946476 195.47.131.56 (Mon, 26 Jul 1999 01:47:56 MET DST)
NNTP-Posting-Date: Mon, 26 Jul 1999 01:47:56 MET DST
Organization: get2net Internet Kunde
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

SCOTT19U.ZIP_GUY skrev i meddelelsen >>like making smaller versions of crt0
and libc (perhaps using tinycode from
>>submissive^cubic)
>>
>my scott16u.exe found in scott16u.zip pointed to at my web
>page is only 63488 bytes long. But to get the executable size
>down one should use "strip" to get rid of useless parts of the
>code.

yes, offcause you should compile with the -s option, but what I wanted was
to make even smaller programs. Without debugging information the smallest
programs I can make is still around 20k after packing - which is because
libc and libgcc are linked onto the executable. If you are doing a 64kb into
you don't need things like I/O and such, and it would be nice to not have
support for such things in the final .exe

--
Bye, Peter Korsgaard



- Raw text -


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