Huge executables when compiling in Windows

  • From: Øyvind Lode <oyvind.lode@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 13 Jul 2010 16:11:06 +0200

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

Other related posts: