Size of "hello world" program in c++ / cygwin

Richard Kaye R.W.Kaye@bham.ac.uk
Tue Jun 13 02:40:00 GMT 2000


Hi, 

I couldn't find any reference to this in the FAQs or anything.

I compiled and run a C++ "hello world" program using gcc/cygwin
under windows 95 using all the defaults, and although it 
works fine I am surprised to find the executable is nearly half a
megabyte in size.  (462404 bytes, to be precise.) 
Why is this?  Is there any way I can reduce the size to something 
more reasonable?

Many thanks

Richard Kaye



#include <iostream>

int main () {
    cout << "Hello World\n";
    return 0;
}



>From Dr Richard W Kaye\\School of Mathematics and Statistics\\
University of Birmingham\\Edgbaston\\Birmingham\\B15 2TT\\U.K.
mailto:R.W.Kaye@bham.ac.uk  http://www.mat.bham.ac.uk/R.W.Kaye
pgp public key http://www.mat.bham.ac.uk/R.W.Kaye/rkpubkey.asc


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list