delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/27/12:52:38

From: lonniem AT cs DOT utexas DOT edu (Lonnie McCullough)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Why does gcc make such big binaries?
Date: Tue, 27 May 1997 04:36:49 GMT
Message-ID: <338a644e.907165@news.nol.net>
References: <Pine DOT OSF DOT 3 DOT 91 DOT 970518132348 DOT 61A-100000 AT hermes DOT otago DOT ac DOT nz> <5ln25g$2p4 AT news DOT ox DOT ac DOT uk> <5m8qck$avt AT news DOT asu DOT edu> <5m8tep$3j1 AT news DOT ox DOT ac DOT uk>
NNTP-Posting-Host: ip39-45.nol.net
Lines: 25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 25 May 1997 08:32:25 GMT, mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
wrote:

>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.
>
>What follows is AFAIK; I don't program Linux, so don't take it as gospel.
>
>Linux is already in protected mode, so it doesn't need to switch. Also,
>the shell in Linux does most of what the stub does anyway. So in Linux
>this additional code isn't required. Are you using SVGALIB? This is
>outside my experience, but my impression was also that SVGALIB is loaded
>at runtime, so it is not part of the executable either.

Yeah and the libraries are dynamically linked in for you.  That's what
make Linux/UNIX so nice, it has a full dll system even in the command
line.  Shock of shocks imagine that.  If only DOS had been designed
like that.  Oh well.



Lonnie McCullough
lonniem AT cs DOT utexas DOT edu

- Raw text -


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