Re: [xml] Size
- From: Justin Fletcher <justin fletcher ntlworld com>
- To: xml gnome org
- Subject: Re: [xml] Size
- Date: Fri, 08 Mar 2002 15:03:13 GMT
In message <20020308065416 R18835 redhat com>
on 8 Mar 2002, Dadniel Veillard wrote:
On Fri, Mar 08, 2002 at 12:33:55PM +0100, Jean-Yves Lamoureux wrote:
Hi
I'm currently trying to get a very light XML library, but I can't make it
smaller than 874596 bytes.
Hum, you have a problem with your compiler then or your architecture
is RISC or something:
paphio:~/XML -> ls -l /usr/lib/libxml2.so.2.4.16
-rwxr-xr-x 1 root root 707226 Mar 2 19:16 /usr/lib/libxml2.so.2.4.16*
paphio:~/XML -> size /usr/lib/libxml2.so.2.4.16
text data bss dec hex filename
614275 33896 3456 651627 9f16b /usr/lib/libxml2.so.2.4.16
For information, built for ARM RISC OS (ie not a unix environment), 2.4.14
gives me a library file 724916 bytes long (no system-specific debugging
data included in the library); xmllint (which obviously only uses a subset of
the potential routines) builds to give 537784 byte executable.
650KB and this is compiled as shared library with -fPic which steals one
register from the available set inflating the code size and with all options
included.
Not equivilent to what I have then; building for PIC is more tricky with this
compiler.
Not really of interest to many, but as a comparison of code size may be of
use.
Since it was mentioned by someone else, and for comparison, expat for ARM
RISC OS compiles to an executable of slightly over 100k. I would expect the
scale of values to be typical for most architectures.
--
Gerph {djf0-.3w6e2w2.226,6q6w2q2,2.3,2m4}
URL: http://www.movspclr.co.uk/
... Eyes to the heavens, screaming at the sky;
Trying to send you messages, but choking on goodbye.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]