DJ Lucas wrote:
>>> About 70 MB when using Firefox with system Xulrunner.
>> The build size is pretty big and /usr/lib/xulrunner-devel-12.0 is pretty big
>> for me.
>>
>> $ find /usr -type d -name xulrunner\* -exec du -sh {} \;
>> 2.4G /usr/src/firefox/mozilla-release/xulrunner-build-dir
>> 32M /usr/src/firefox/mozilla-release/xulrunner-build-dir/dist/xulrunner
>> 1.4M /usr/src/firefox/mozilla-release/xulrunner-build-dir/xulrunner
>> 2.2M /usr/src/firefox/mozilla-release/xulrunner
>> 45M /usr/src/xulrunner
>> 6.8M /usr/share/idl/xulrunner-12.0
>> 27M /usr/include/xulrunner-12.0
>> 475M /usr/lib/xulrunner-devel-12.0
>> 32M /usr/lib/xulrunner-12.0
>>
>> Most of this is in /usr/lib/xulrunner-devel-12.0/sdk/lib/libxul.so
>>
>> -rwxrwxr-x 1 root root 463M May 13 13:45 libxul.so, but stripping it gets it
>> down to 24M.
> Oh. Nix the -g flag in the XUL runner build and install everything.
> Firefox should be no different than any other package in BLFS.
How do you do that? We already have --disable-debug as an option. The mozilla
page says
ac_add_options --enable-optimize=-O2
Choose particular compiler optimization options. In most cases, this will
not give the desired results, unless you know the Mozilla codebase very well;
I think stripping after the build is less likely to give problems.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page