delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/29/06:36:29

Message-Id: <3.0.6.16.20010429114701.62afcf70@pop3.01019freenet.de>
X-Sender: nur DOT nurani AT pop3 DOT 01019freenet DOT de
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (16)
Date: Sun, 29 Apr 2001 11:47:01 -0200
To: djgpp AT delorie DOT com
From: Nur Nurani <nur DOT nurani AT freenet DOT de>
Subject: Re: gcc for djgpp vs borland c compiler
In-Reply-To: <9cg46n$kk5$1@sunlight.pku.edu.cn>
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

Hi,

there is an optimation switch -s (I think).
Turn it on and you will get an exe under 40 kByte.

Nur


Danny has written at 12:01 29.04.2001 +0800 :
>
>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?
>
>Thanks.
>
>
>Dan
>
>
>
>
>
Thanks
Nur

-- 
Nur Nurani
Alte Zoll Strasse 17
77694 Kehl am Rhein

- Raw text -


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