This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binaries compiled with GCC 3.2-3 much bigger than with 2.95.3-10?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frédéric L. W. Meunier wrote:

| I just switched to 3.2-3 and was impressed with the following:
|
| Cygwin          -O2     -O2 + -Wl,-s    -Os    -Os + -Wl,-s What's so
| different in 3.2-3 ? On Linux GCC 3.x produced smaller binaries. On
| Cygwin the size doubled.

Did you "strip" the executable produced?
AFAIK gcc3 has much more "debug" infos, but once stripped should be of a
similiar size.

- --
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAj9YRd8ACgkQaJiCLMjyUvt4+gCaAtOxJWOh53VQGlrqHR5C5Q50
GwUAnjf1hIJbE94w7QUyg9JVCNrE29Eg
=jR8F
-----END PGP SIGNATURE-----



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]