delorie.com/archives/browse.cgi | search |
From: | "Alexei A. Frounze" <dummy_addressee AT hotmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: gcc for djgpp vs borland c compiler |
Date: | Sun, 29 Apr 2001 00:31:23 -0400 |
Organization: | Global Crossing Telecommunications |
Lines: | 26 |
Sender: | UNKNOWN AT 209-130-220-133 DOT nas1 DOT roc DOT gblx DOT net |
Message-ID: | <9cg5c3$12u0$1@node17.cwnet.frontiernet.net> |
References: | <9cg46n$kk5$1 AT sunlight DOT pku DOT edu DOT cn> |
NNTP-Posting-Host: | 209-130-220-133.nas1.roc.gblx.net |
X-Trace: | node17.cwnet.frontiernet.net 988518595 35776 209.130.220.133 (29 Apr 2001 04:29:55 GMT) |
X-Complaints-To: | abuse AT frontiernet DOT net |
NNTP-Posting-Date: | 29 Apr 2001 04:29:55 GMT |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"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 Good Luck -- Alexei A. Frounze alexfru [AT] chat [DOT] ru http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |