Re: Downsize Expat For Embedded System
Karl Waclawek <[email protected]>
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
cjliarng wrote: > 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~~ > > This is strange indeed. On Windows, the regular size of the Dll is about 148KB, without any tricks. Any ideas anyone? Karl _______________________________________________ Expat-discuss mailing list [email protected] http://mail.libexpat.org/mailman/listinfo/expat-discuss