On Tue, 12 Jul 2011 14:48:42 +0200, Müller, Rainer wrote:
> Hello, I want to use fossil on an ARM based platform. We have only a
> few MB flash, so i tried to strip the binary - but the best result 
> was
> about 1.1MB.
>
> I read that someone managed to build a 330kB binary, any suggestions
> on this issue? I don't need the bug tracking or wiki feature but i
> doubt they can be deactivated, right?
>
> Regards, Rainer.
>
> Development Software Systems
>  Festo Gesellschaft m.b.H.
>  LINZER STRAßE 227
>  Austria - 1140 WIEN
>
>  Firmenbuch Wien
>  FN 38435y
>
>  Tel: +43(1)91075-362
>  Fax: +43(1)91075-282
>  www.festo.at
>
>  Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten
> Adressaten bestimmt. Jede Form der Kenntnisnahme,
>  Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts
> dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir
>  bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu
> setzen, falls Sie nicht der Adressat dieses E-Mails sind und das
>  Material von Ihrem Computer zu loeschen.
>
>  This e-mail and any attachments are confidential and intended solely
> for the addressee. The perusal, publication, copying or
>  dissemination of the contents of this e-mail by unauthorised third
> parties is prohibited. If you are not the intended recipient of this
>  e-mail, please delete it and immediately notify the sender.

I'm not the one who build a small binary. You could try to:

use ulibc http://www.uclibc.org/  (I'm not sure if fossil will 
compile/work)
use compression http://upx.sourceforge.net/

with regards to disable wiki and bug tracking you could change relevant 
sections
like

/*
** WEBPAGE: tktview
** URL:  tktview?name=UUID
**
** View a ticket.
*/

if your would  change WEBPAGE: to  WEB: then the fossil preprocessor 
will not
include those functions. It is a bit of work, I don't know if it works.
(I wonder if it could be make configurable e.g. -DWIKI=1 -DTICKET=1 to 
compile
in this subsystems.)
if it will save you a lot of space I don't know.

upx compression is the easiest and simplest and can give you instant 
results.
The other 2 options is a lot of work.
But I find the ulibc one interesting. Maybe I'll give it a try myself 
:-)

-- 
Rene
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to