I've got a question about the options for mozilla binrary release
while I'm trying to compile & run Mozilla 1.0.1 on Red Hat Linux 7.3.2.96-110.
I posted this issue to another newsgroup, but haven't got any answer. :(
I downloaded the gzipped source code of Mozilla 1.0.1
and compiled it with the configure options suggested in
"Building A Mozilla Distribution"
page(http://www.mozilla.org/build/distribution.html).
Here is the content of my .mozconfig file :
-------------------------------------------------
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --without-system-nspr
ac_add_options --without-system-zlib
ac_add_options --without-system-jpeg
ac_add_options --without-system-png
ac_add_options --without-system-mng
ac_add_options --enable-crypto #comment to disable PSM/SSL support
-------------------------------------------------
With above options, the browser was compiled successfully,
but the size of the library files are
quite different from that of the binary release's.
For example, libgkcontent.so is about 4272KB in my build,
but it is about 2992KB in the binary release.
Is there are more options used when you build binary release?
Any help will be appreciated.. ;)
Grace Chang
my guess is you're missing --enable-strip and/or --enable-strip-libs.
Dan