From owner-freebsd-questions Tue Jun 18 13:25: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id AFA0637B40A for ; Tue, 18 Jun 2002 13:24:59 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.12.3/8.12.3) id g5IKOw4Q030504; Tue, 18 Jun 2002 15:24:58 -0500 (CDT) (envelope-from dan) Date: Tue, 18 Jun 2002 15:24:58 -0500 From: Dan Nelson To: p d Cc: Kris Kennaway , freebsd Subject: Re: decompressing executable before using Message-ID: <20020618202458.GB84123@dan.emsphone.com> References: <20020618113251.C80973@xor.obsecurity.org> <20020618184349.13079.qmail@web14701.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020618184349.13079.qmail@web14701.mail.yahoo.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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