delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Date: | Tue, 5 Mar 2002 08:02:46 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Traveler <traveler AT netti DOT fi> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: "Hello World !" growed from 361 KB to 730 KB ! What's going on ? |
In-Reply-To: | <a613l9$5pk$1@tron.sci.fi> |
Message-ID: | <Pine.SUN.3.91.1020305080150.17810B-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 Tue, 5 Mar 2002, Traveler wrote: > Compiling the trivial "Hello World!" program with gcc v.2.95.3 produces an > executable whitch size is about 360 Kb (with "-O3" switch). > > When compiling the same code with gcc v.3.0.4 the result is an program > whitch size is allmost 1 MB ! > > Can anybody explain this ? A C program or a C++ program? Did you compile with -g or -gstabs+ or perhaps -ggdb3? What happens if you run `strip' on the program?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |