Subject: Re: Changes to crunchgen
To: James Chacon <jchacon@genuity.net>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-ports
Date: 10/03/2001 15:19:30
On Wed, 3 Oct 2001, James Chacon wrote:
> With the recent toolchain changes (USE_NEW_TOOLCHAIN) and some recent changes
> to crunchgen a major deficiency crops up in how crunchgen works today.
>
> It attempts to use the current object files (if they exist) to build the
> crunched image. Well, this is bad since most of those were built with
> optimizing cflags (i.e -O2) instead of something which tries to produce the
> smallest code possible (-Os or equiv).
> Generate a makefile by default that does all object file builds in local
> subdirs by binary (i.e. bad144 gets built in $OBJDIR/bad144) via a reach over
> make. (Sets .PATH and .CURDIR and does a make for the objects needed in that
> dir).
...and say goodbye to snapshots polluted with crunched objects. Yes!
It would be great, too, if there were a single top-level target to
make the floppies, without having to build the whole tree first.
Frederick