Binary size
Robinow, David
drobinow@dayton.adroit.com
Thu Feb 21 08:40:00 GMT 2002
I get similar results. However, the stripped versions are the same size.
Apparently the new compiler includes more debugging information. I haven't
yet found any documentation describing this but I've barely looked.
> -----Original Message-----
> From: Sturm Volker [mailto:Volker.Sturm@fthw.siemens.de]
> Subject: WG: Binary size
> > I tried out cygwin on win2k and i compiled gcc3.0.3 - apart from the
> > prefix option - in the standard way. using the gcc 2.95 that came with
> > cygwin and the 3.0.3 gave me a size of some compiled .exe of about 18 k
> > with the old version and 35 k with the new version. the program i
> > compiled for testing was:
> >
> > #include <stdio.h>
> >
> > int main(int argc, char** argv) {
> > printf("Hello world!\n");
> > return 0;
> > }
> >
> > I used 'gcc -o myfirst myfirst.cpp' for both compiler versions. why is
> > the big difference in size?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list