Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2002 15:24:58 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        p d <pddeals@yahoo.com>
Cc:        Kris Kennaway <kris@obsecurity.org>, freebsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: decompressing executable before using
Message-ID:  <20020618202458.GB84123@dan.emsphone.com>
In-Reply-To: <20020618184349.13079.qmail@web14701.mail.yahoo.com>
References:  <20020618113251.C80973@xor.obsecurity.org> <20020618184349.13079.qmail@web14701.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 18), p d said:
> Hi!
>    thanks Kris ... that should work ... is it possible to do
> something for the libraries ... I am trying to fit the system on a
> flash ... so I am trying to reduce it as much as possible ...

You might want to take a look at PicoBSD ( /usr/src/release/picobsd ,
old docs at http://people.freebsd.org/~picobsd/picobsd.html, and the
freebsd-small mailinglist ). It's designed to squish as much stuff onto
a floppy image as possible.

PicoBSD saves a lot of space by using no shared libs at all. 
Statically link all your apps into one huge monolithic binary, with a
dummy main() that runs the right program based on argv[0].  man
crunchgen and crunchide for more info.

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020618202458.GB84123>