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$>
Date: Mon, 26 Jul 1999 01:46:51 +0200
X-Complaints-To: abuse AT get2 DOT net
X-Trace: 932946476 (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
>my scott16u.exe found in 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

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