Compiling gnupg for mipsel

colstar at iprimus.com.au colstar at iprimus.com.au
Fri Nov 19 05:28:32 CET 2004


Another way of making the binary smaller is to use an executable compressor
after stipping the debugging symbols
and thus saving you disk space

Regards
C.



>-- Original Message --
>From: Neil Williams <linux at codehelp.co.uk>
>To: "Gnupg-Users" <gnupg-users at gnupg.org>
>Date: Wed, 17 Nov 2004 16:56:58 +0000
>Cc: Xabier Iurgi Arginzoniz Cebreiro <yurgi.arginzoniz at air-bites.com>
>Subject: Re: Compiling gnupg for mipsel
>
>
>On Wednesday 17 November 2004 1:53 pm, Xabier Iurgi Arginzoniz Cebreiro
wrote:
>> I've tried compiling it with everything disabled (--disable-[all de
>> variations]) and finally reduce it to 3,6MB. When I look at the size of
>> the x86 linux binaries, I see they only use 600KB aprox.
>
>You've used strip?
>man strip
>strip - Discard symbols from object files.
>
>Packaging schemes will strip the debugging symbols but when compiling from
>
>source, it's usually left to you because if you are developing code, you
>need 
>debugging symbols to work with gdb etc.
>
>Stripping one of my own library files compiled from a tarball makes it go
>from 
>53Kb to 9.3kb - a 6 fold decrease that should bring your 3.6Mb closer to
>
>600kb.
>
>Sometimes, strip can be put into the make options or it can be done in 
>preparing the package.
>
>-- 
>
>Neil Williams
>=============
>http://www.codehelp.co.uk/
>http://www.dclug.org.uk/
>http://www.isbn.org.uk/
>http://sourceforge.net/projects/isbnsearch/
>
>http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3
>
>Attachment: Attachment
>
>_______________________________________________
>Gnupg-users mailing list
>Gnupg-users at gnupg.org
>http://lists.gnupg.org/mailman/listinfo/gnupg-users




More information about the Gnupg-users mailing list