From owner-freebsd-small Sat Jul 1 13:45:24 2000 Delivered-To: freebsd-small@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id C02D937BA2E for ; Sat, 1 Jul 2000 13:45:19 -0700 (PDT) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id 9C6912DC0A; Sat, 1 Jul 2000 22:50:58 +0200 (CEST) Received: by mx.webgiro.com (Postfix, from userid 1001) id 2DB1C7817; Sat, 1 Jul 2000 22:44:50 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id 2914710E17; Sat, 1 Jul 2000 22:44:50 +0200 (CEST) Date: Sat, 1 Jul 2000 22:44:50 +0200 (CEST) From: Andrzej Bialecki To: Doug White Cc: Roger Hardiman , small@FreeBSD.ORG Subject: Re: Optimise for space -Os In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 30 Jun 2000, Doug White wrote: > On Fri, 30 Jun 2000, Roger Hardiman wrote: > > > Hi, > > > > Has anyone had any luck compiling PicoBSD with the -Os > > (optimise for space) switch to gcc. > > > > I've just tried it here on my 4.0-stable box with a > > modified 'bridge' disk (modified so it would fit a floppy) > > and the resultant disk seems just as full. > > 4.X PicoBSD has bigger issues. gzip kernel + loader just about fill the > disk right there. > > Mike Smith is trying to prod me into getting rid of loader and go back to > gluing the MFS image in the kernel again. I hate that but the > write_mfs_in_kernel tool has reappeared under sysinstall's tree. Getting > rid of loader would buy back ~150KB on the disk. I think it's fine for the truly embedded setups, which run on well-defined hardware - they can use monolithic image. For installation floppies, or portable dial-up tool, in my opinion it's better to still use the loader, but without Forth, and instead of monolithic kernel build a pretty minimal one + additional floppy/tarball with modules. Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message