From: Frank Musheler Newsgroups: comp.os.msdos.djgpp Subject: compiled EXE is bloated in C++ Date: Fri, 16 Nov 2001 02:35:53 +0200 Message-ID: X-Newsreader: Forte Agent 1.8/32.553 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: user15103.vip-za.com X-Trace: 16 Nov 2001 02:36:10 -0800, user15103.vip-za.com Lines: 24 X-Report: Report abuse to newsabuse AT vip-za DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Can anyone help me work out why the size of my compiled executables is so large. when I compile a basic hello world program #include int main(void) { cout <<"Hello World!" << endl; return 0; } the size of the EXE file is about to 240K when i compile with gxx -s hello.C -o hello.exe I've read the FAQ and it says the file size should be more around 140K I have the binutils file bnu2112b.zip. This only happens when I compile in C++, C programs compile to roughly the size mentioned in the FAQ. Can anyone who knows more than me tell me what the possible reason for this might be. Also is there anyway to get the manual that isn't in INFO format? Any help would be appreciated. Thanx