From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: compiled EXE is bloated in C++ Date: 16 Nov 2001 01:19:08 GMT Organization: Cornell University Lines: 47 Sender: asu1 AT cornell DOT invalid (on 156.syracuse-02rh16rt.ny.dial-access.att.net) Message-ID: References: NNTP-Posting-Host: 156.syracuse-02rh16rt.ny.dial-access.att.net X-Trace: news01.cit.cornell.edu 1005873548 5099 12.89.11.156 (16 Nov 2001 01:19:08 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 16 Nov 2001 01:19:08 GMT User-Agent: Xnews/4.06.22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Frank Musheler wrote in news:e1n8vtsgv3pft1k6ivb9206qlmqrdr3doi AT 4ax 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 > the size of the EXE file is about to 240K when i compile with > gxx -s hello.C -o hello.exe the size of "hello world" is a red herring, but in any case, here is what happens on my system: C:\var>type h.cc #include int main(void) { std::cout << "Hello World!" << std::endl; return 0; } C:\var>gpp h.cc -o h.exe -Wall C:\var>strip --strip-all h.exe C:\var>dir h cc 101 11-15-01 8:13p h.cc h exe 146,432 11-15-01 8:15p h.exe > 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. see http://www.delorie.com/djgpp/doc/ hth. Sinan. -- -------------------------------- A. Sinan Unur http://www.unur.com/