Re: [xml] Install part of the libxml?

Date view Thread view Subject view Author view

From: rcx195@us.ibm.com
Date: Wed Jun 21 2000 - 11:28:42 EDT


Thank Daniel and David. I have compiled the libxml source code and one
simple sample which uses the parser.
The total size of the code is only 14K. I am writing a WML browser
and I hope the
size of the whole browser to be within 500K. I think I was wrong to
say "libxml is too big for me".

Thanks again!

Jing

David Doolin <doolin@cs.utk.edu>@rufus.w3.org on 06/21/2000 10:33:50 AM

Please respond to xml@rpmfind.net

Sent by: xml-request@rufus.w3.org

To: xml@rpmfind.net
cc: doolin@cs.utk.edu
Subject: Re: [xml] Install part of the libxml?

> fetch the tar.gz, ./configure with the option, make, make install
>If you don't know how to do that I suggest you don't try to customize
>for size !!!
>
>> 2. Do you know how big the library will be after removing the parts that
>> you mentioned in your email?
>
> No it's won't give you anything in practice, I suggest you learn more
>about what linking a binary, shared libraries and demand loading are
>before deciding "libxml is too big", usually those concepts are explained
>in programmer or operating system courses.
>
>Daniel

Yes, what Daniel said.

I am statically linking libxml under win32, and it adds approximately
35k to my code. The only parts I am using are the parser and validator.
Just a couple of calls from my code. I do not do embedded programming,
but I suspect that 35k would be reasonable, and you would be
cross-compiling
anyway (Right? gcc for a palm pilot? I am out of my league here to be
sure).

You will find more details in a good OS or systems text, you might find
a compiler text useful as well. If you are really gung-ho, check out
John Levine's new book on linkers.

Ciao,

Dave D

----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org

---- Message from the list xml@xmlsoft.org Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:15 EDT