www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/11/23:33:52

Mime-Version: 1.0
To: "Gwidon S. Naskrent" <naskrent AT artemida DOT amu DOT edu DOT pl>, djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: A lame compilation question
Date: Mon, 11 May 1998 20:28:40 -0700
Message-ID: <19980512032838.AAA16211@ppp127.cartsys.com>

At 04:58  5/11/1998 +0200, Gwidon S. Naskrent wrote:
>
>When I try to compile a C or Pascal program with DJGPP tools I keep
>getting an extra 150 kB of statically-linked stuff! How do I get rid of
>that? Thanks :)

This is an FAQ (section 8.15). Yes, DJGPP stuff is statically linked, mainly
since DOS is not a good enough operating system to make shared libraries
easy to implements or efficient. However, `strip' will remove debugging info
from your executable (this is often half of the file size), while `djp' will
do that and then compress the resulting file for on-the-fly decompression.
The FAQ has more details.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


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