Subject: Re: inlining & size
To: Todd Vierling <email@example.com>
From: Simon Burge <firstname.lastname@example.org>
Date: 09/18/2000 13:49:27
Todd Vierling wrote:
> On Mon, 18 Sep 2000, Hubert Feyrer wrote:
> : Makes me wonder what happens if you compile with -Dinline= ...
> Try "-fno-inline" as a better test of that. However, turning off all
> inlines is probably not a good idea, as it has some (likely unexpected)
> impact on some core functionality--see <mips/pte.h>, <pmax/bus.h>.
> If you really want a smaller kernel that doesn't sacrifice too much for
> speed, try using "-O2 -Os" as the optimization options.
thoreau:~ 1987> grep -e -O /NetBSD/src/sys/arch/pmax/conf/INSTALL
makeoptions COPTS="-Os -mmemcpy"
Simon Burge <email@example.com>
NetBSD Sales, Support and Service: http://www.wasabisystems.com/