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 X-Sender: eliz AT is To: Traveler cc: djgpp AT delorie DOT com Subject: Re: "Hello World !" growed from 361 KB to 730 KB ! What's going on ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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?