Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2000 22:44:50 +0200 (CEST)
From:      Andrzej Bialecki <abial@webgiro.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        Roger Hardiman <roger@cs.strath.ac.uk>, small@FreeBSD.ORG
Subject:   Re: Optimise for space -Os
Message-ID:  <Pine.BSF.4.20.0007012241080.48866-100000@mx.webgiro.com>
In-Reply-To: <Pine.BSF.4.21.0006300851050.21808-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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

//  <abial@webgiro.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0007012241080.48866-100000>