delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/29/05:03:11

Date: Sun, 29 Apr 2001 10:14:37 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: gcc for djgpp vs borland c compiler
In-Reply-To: <9cg5c3$12u0$1@node17.cwnet.frontiernet.net>
Message-ID: <Pine.SUN.3.91.1010429101340.26520L-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 29 Apr 2001, Alexei A. Frounze wrote:

> "Danny" <dguo AT 263 DOT net> wrote in message
> news:9cg46n$kk5$1 AT sunlight DOT pku DOT edu DOT cn...
> > Hi, THere.
> >
> > I have got both gcc for djgpp and borland C compiler (bcc32). I compared
> > them on a simple 'hello world' C code. I found gcc made a EXE with size of
> > 107,516bytes, while bcc32 generated a EXE with size of 52,736bytes.
> >
> > How come they are so different?
> 
> 1. turn on optimization
> 2. get a rid of debug info
> 
> but better:
> 0. go read DJGPP FAQ

Yeah, section 8.14, to be exact.

- Raw text -


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