|
Boost-Build : |
From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2005-01-10 05:34:35
Alexander Nasonov wrote:
>
> Vladimir Prus wrote:
> > Alexander Nasonov wrote:
> > > BTW, I know Volodya cares about library sizes. Here are results of "ls -l"
> > > executed on my little brick:
> > > -rwxr-xr-x 1 root root 295588 Jan 9 2005 program_options.so
> >
> > Hmm... not so nice :-( I hope some planned internal reorganization will lower
> > the size a bit.
>
> Well, I can try -Os option.
on Compaq X1000 (Pentium M):
$ rm -rf ../../../bin.v2/
$ bjam --v2 release optimization=space
$ find ../../../bin.v2/ -type f -perm +111 -exec scp {} root_at_192.168.0.202:boost_release_optimization_space/ \;
$
$ rm -rf ../../../bin.v2/
$ bjam --v2 release link=static optimization=space
$ find ../../../bin.v2/ -type f -perm +111 -exec scp {} root_at_192.168.0.202:boost_release_link_static_optimization_space/ \;
on iPAQ:
~ # ls -l boost_release_optimization_space/
-rwxr-xr-x 1 root root 183864 Jan 10 2005 boost_test_exec_monitor.so
-rwxr-xr-x 1 root root 51928 Jan 10 2005 cmdline_test
-rwxr-xr-x 1 root root 43444 Jan 10 2005 options_description_test
-rwxr-xr-x 1 root root 55336 Jan 10 2005 parsers_test
-rwxr-xr-x 1 root root 76332 Jan 10 2005 positional_options_test
-rwxr-xr-x 1 root root 287356 Jan 10 2005 program_options.so
-rwxr-xr-x 1 root root 18660 Jan 10 2005 test_convert
-rwxr-xr-x 1 root root 93480 Jan 10 2005 unicode_test
-rwxr-xr-x 1 root root 124892 Jan 10 2005 variable_map_test
-rwxr-xr-x 1 root root 4024 Jan 10 2005 winmain
~ #
~ #
~ # ls -l boost_release_link_static_optimization_space/
-rwxr-xr-x 1 root root 211208 Jan 10 2005 cmdline_test
-rwxr-xr-x 1 root root 252288 Jan 10 2005 options_description_test
-rwxr-xr-x 1 root root 371204 Jan 10 2005 parsers_test
-rwxr-xr-x 1 root root 379396 Jan 10 2005 positional_options_test
-rwxr-xr-x 1 root root 150072 Jan 10 2005 test_convert
-rwxr-xr-x 1 root root 408128 Jan 10 2005 unicode_test
-rwxr-xr-x 1 root root 432668 Jan 10 2005 variable_map_test
-rwxr-xr-x 1 root root 137376 Jan 10 2005 winmain
~ #
~ #
~ # uname -a
Linux (none) 2.6.6-hh0 #1 Mon Jun 28 14:14:07 CEST 2004 armv5tel unknown
~ #
~ #
~ # cat /proc/cpuinfo
Processor : XScale-PXA255 rev 6 (v5l)
BogoMIPS : 396.49
Features : swp half thumb fastmult edsp
CPU implementer : 0x69
CPU architecture: 5TE
CPU variant : 0x0
CPU part : 0x2d0
CPU revision : 6
Cache type : undefined 5
Cache clean : undefined 5
Cache lockdown : undefined 5
Cache format : Harvard
I size : 32768
I assoc : 32
I line length : 32
I sets : 32
D size : 32768
D assoc : 32
D line length : 32
D sets : 32
Hardware : HP iPAQ H2200
Revision : 0000
Serial : 0000000000000000
-- Alexander Nasonov
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk