Neil Freeman wrote:
Hi Doug,
Thanks for your reply. I have built Mozilla on a RedHat linux platform using a mozconfig configuration file which has the following contents:
ac_add_options --with-system-nspr
ac_add_options --disable-mailnews
ac_add_options --disable-ldap
ac_add_options --disable-freetype2
ac_add_options --disable-postscript
ac_add_options --disable-xprint
ac_add_options --disable-jsd
ac_add_options --disable-accessibility
ac_add_options --disable-composer
ac_add_options --disable-mathml
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize="-O3 -march=k6 -mcpu=k6"
ac_add_options --disable-dtd-debug
ac_add_options --disable-logging
ac_add_options --enable-strip
Does this configuration look ok to you?
it does.
I wasn't sure about the 'with-system-nspr' option, could you give me a few details on how this should be used.If NSPR is used else where in your device, you may be able to share NSPR with other applications using this options.
Yes - you should look at using --with-system-zlib. I would bet that rh has a system version of zlib.Are there any other options that you recommend I should use?
You can also disable some of the image decodes if you don't want them:
--enable-image-decoders=png,gif,jpeg
After the build finished I created a package with 'gmake -C xpinstall/packager'. This created a 9.7Mb tar.gz file which extracts to ~24Mb.
I don't know what that does.
Next, I ran a make within mozilla/embedding/config. This created a directory (mozilla/dist/Embed) which was ~15.6Mb in size. As you can see, I am still way off the 8.9Mb that you have achieved. Do you have any suggestions as to how I can bring this figure down?
could you send me a ls -alR of that directory? -- Doug Turner [EMAIL PROTECTED]
