Decreasing the size of the final binary product

25 views
Skip to first unread message

ryan

unread,
Jul 21, 2012, 2:04:38 PM7/21/12
to firebreath-dev
One thing that worked for me but I haven't seen mentioned in the
Firebreath community is UPX. It's a compressor for executable formats
like .dll files on windows and .so files on Linux.

http://upx.sourceforge.net/

It's completely self-contained meaning that after you compress the dll
or so file, it still works exactly the same. The final size of my
NPAPI plugin's binary file was around ~600k when I compiled it with
MinRelSize and then compressed it with UPX on Windows and Linux. I
couldn't get it to work for the OS X binaries.

Jarom Loveridge

unread,
Jul 21, 2012, 2:08:22 PM7/21/12
to firebre...@googlegroups.com
It has been mentioned before but it is definitely worth mentioning again. Thanks Ryan.
Reply all
Reply to author
Forward
0 new messages