Mail Archives: djgpp/2001/04/29/05:03:11
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 -