[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANNOUNCE] Lua 5.0 (beta) now available
- From: Jay Carlson <nop@...>
- Date: Tue, 17 Dec 2002 13:49:32 -0600 (CST)
On Tue, 17 Dec 2002, Adam D. Moss wrote:
> For footprint-watchers, here's 5.0-alpha's on-disk footprint:
> (gcc31 -Os, stripped)
>
> -rw-r--r-- 1 root 50112 Dec 17 19:27 liblua.a
> -rw-r--r-- 1 root 28640 Dec 17 19:27 liblualib.a
>
> ... and here's 5.0-beta's:
> (gcc31 -Os, stripped)
>
> -rw-r--r-- 1 root 51848 Dec 17 19:27 liblua.a
> -rw-r--r-- 1 root 30624 Dec 17 19:27 liblualib.a
The best way to measure code size of libraries is with partial
linking:
$ ld -r -o /tmp/liblua4.0-partial --whole-archive liblua.a
etc
On Debian/SPARC 3.0, (gcc-2.95.4, default flags plus popen)
nop@slothrop:~$ size /tmp/libl*
text data bss dec hex filename
52464 0 0 52464 ccf0 /tmp/liblua4.0-partial
62080 0 0 62080 f280 /tmp/liblua5.0-partial
28192 0 2 28194 6e22 /tmp/liblualib4.0-partial
37348 0 0 37348 91e4 /tmp/liblualib5.0-partial
Just for laughs:
458620 27064 1184 486868 76dd4 /tmp/libtcl8.3-partial
Jay