| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
| DomainKey-Signature: | a=rsa-sha1; q=dns; c=nofws; |
| s=s1024; d=yahoo.com; | |
| h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; | |
| b=cLWkTFekKdlHjou+ISLquO6h8TW7yVTbMzkyaVq/EJBqhvOVKm/3K6HuKyYOArmRcGmjBuAnqhgvsKfKZN3xcccHP8SDd6hWnznLJt1kE6Op3kLjz5CD7rdJbJVnooqpRsqWOC3weLHVHV10sHNKWvcjkinoUkqp0wPmywE4Vc8= ; | |
| Message-ID: | <20060512183327.51527.qmail@web42201.mail.yahoo.com> |
| Date: | Fri, 12 May 2006 11:33:27 -0700 (PDT) |
| From: | Daniel Borca <dborca AT yahoo DOT com> |
| Subject: | Re: DJGPP ELF |
| To: | djgpp-workers AT delorie DOT com |
| In-Reply-To: | <200605121437.k4CEbevt006766@brother.ludd.ltu.se> |
| MIME-Version: | 1.0 |
| 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 |
--- Martin Str|mberg <ams AT ludd DOT ltu DOT se> wrote:
> According to Daniel Borca:
> > Some points for switching to ELF were:
> > 1. reduce the size of executables
>
> Just how is that achieved? And do you have any numbers?
>
COFF: Hello World C++ is about 400kb
ELF : Hello World C++ is about 16kb (PIE) - 20kb (non-PIE)
plus 1MB the shared libraries (libc, libm, libgcc, libstdc++)
So, if you have more than 3 Hello World C++ COFF EXEs (not that I
would know any reason for having so many Hello World programs),
you already save space.
Another example, COFF programs compiled with DJGPP Mesa are >2MB
each. I can't remember how large were COFF Allegro demos... but
you can always check yourself.
Regards,
Daniel Borca
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |