delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/25/06:40:40

From: leereyno AT IMAP2 DOT ASU DOT EDU
Date: Sun, 25 May 1997 03:39:31 -0700 (MST)
Subject: Re: Why does gcc make such big binaries?
In-reply-to: <Pine.SUN.3.91.970525133143.4960H-100000@is>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
Message-id: <Pine.SOL.3.91.970525033549.3031A-100000@general2.asu.edu>
MIME-version: 1.0


On Sun, 25 May 1997, Eli Zaretskii wrote:

> 
> On 25 May 1997 leereyno AT imap2 DOT asu DOT edu wrote:
> 
> > GCC under linux makes tiny code.  My mandelbrot program is about 13k 
> > long.  The Dos version is over 100k.
> 
> That's really irrelevant, since Linux uses shared libraries (which are 
> unsupported on MS-DOS), so the Linux executable doesn't include the 
> library functions you call.
> 

That's what I meant.  I should have specified the reason why.  Shared 
libraries are great.  I don't see a reason why shared libraries can't be 
used under dos.  Even windows 3.1 uses them in the form of DLLs.  

Lee  

- Raw text -


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