RE: Huge executables when compiling in Windows

  • From: "Joseph Lee" <joseph.lee22590@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 13 Jul 2010 07:17:39 -0700

Hi,
I noticed that as well. Could it be the included libraries and/or something
else?
Cheers,
Joseph

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Øyvind Lode
Sent: Tuesday, July 13, 2010 7:11 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: Huge executables when compiling in Windows

Hi all:

I've noticed that executables are huge in Windows compared to Linux.
My hello World program is 27K when compiled in Windows and 6.2K in Linux.
This is C code and when I compile C++ the difference is even greater.
About 488K in Windows and 7K in Linux for Hello World!!

On Windows I compile with GCC 4.5.0 and on Linux it's GCC 4.3.2.

Why?
I'm just curious!

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.441 / Virus Database: 271.1.1/3001 - Release Date: 07/12/10
16:49:00

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

Other related posts: