This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Binary size
- From: "Robinow, David" <drobinow at dayton dot adroit dot com>
- To: 'Sturm Volker' <Volker dot Sturm at fthw dot siemens dot de>, "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Thu, 21 Feb 2002 10:49:40 -0500
- Subject: RE: Binary size
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/