| delorie.com/archives/browse.cgi | search |
| From: | pavenis AT lanet DOT lv |
| To: | "Laurynas Biveinis" <lauras AT softhome DOT net>, djgpp-workers AT delorie DOT com |
| Date: | Thu, 21 Jun 2001 11:51:33 +0300 |
| MIME-Version: | 1.0 |
| Subject: | Re: gcc-3.0 |
| Message-ID: | <3B31DFC5.18980.6CD900@localhost> |
| In-reply-to: | <20010620184430.B8351@lauras.lt> |
| References: | <3B30D686 DOT 14134 DOT 12A4F8D AT localhost> |
| X-mailer: | Pegasus Mail for Win32 (v3.12c) |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On 20 Jun 2001, at 18:44, Laurynas Biveinis wrote:
>
> What do other platforms do about libs being that big?
>
Perhaps nothing. But we have users who complains about big
executables built with gcc-2.95.X. With gcc-3.0 unstripped executables
will be larger
For example for following trivial program
--------------------------------
#include <iostream>
int main(void)
{
std::cout << "Hello\n";
}
--------------------------------
after 'gpp -O2 hello.cc -o hello.exe' I'm getting the size of executable
(with gcc-3.0) size 1182238 bytes, after stripping it - 257536 bytes and
after compressing it with UPX 1.20 (option --best): 91068 bytes
Andris
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |