Downsize Expat For Embedded System

cjliarng <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Dear Expat experts,
   
  According to the discussion on
  http://mail.libexpat.org/pipermail/expat-discuss/2007-April/002282.html
   
  > I don't think Expat's size is < 100KB on any system, but there are
> compile time options
> to minimize the size of Expat (disabling certain features, etc. - read
> the documentation)
> and there are also compiler options to keep the size smaller ( for a
> little less performance).
> Maybe you can trim it down to about 100KB that way.

  I need to trim the share object down to 100~150KB.
  So I tried the following..
  My platform is on linux, use gcc for expat 2.0.1.
  I have tried to 
  Add -DXML_MIN_SIZE for CFLAGS in Makefile.
  And #undef XML_DTD, #undef XML_NS in expat_config.h.
  It works and trim around 100K away.
  However, the output share object libexpat.so is still around 260K.
  Is there any thing I can do to make the .so down to around 100K?
  Thanks in advanced for any advise~~
   
  Best Regards,
  anne.

       杜絕網路駭客,保障帳號安全 - 馬上設定 Yahoo!奇摩安全圖章!

_______________________________________________
Expat-discuss mailing list
[email protected]
http://mail.libexpat.org/mailman/listinfo/expat-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.