Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 1996 14:57:12 -0500
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Peter Wemm <peter@spinner.dialix.com>
Cc:        "John S. Dyson" <toor@dyson.iquest.net>, dyson@freebsd.org, bde@zeta.org.au, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org
Subject:   Re: cvs commit: src/sys/i386/include endian.h 
Message-ID:  <9612071957.AA20744@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199612070531.NAA27469@spinner.DIALix.COM>
References:  <199612070521.AAA00201@dyson.iquest.net> <199612070531.NAA27469@spinner.DIALix.COM>

next in thread | previous in thread | raw e-mail | index | archive | help

<<On Sat, 07 Dec 1996 13:30:59 +0800, Peter Wemm <peter@spinner.dialix.com> said:

> I would also like to see all "unrecognised" options go into opt_global.h
> as well, that will finish the 'make depend' fixes... ie: make depend
> will be 100% safe, but unrecognised option changes will imply a complete
> recompile...  but that's better than requireing a complete recompile always
> as it currently stands.

I believe that this is a really, really bad idea.  Sometimes, it is
necessary to create an option with the specific intent that the
programmer will be able to enable/disable it on a file-by-file basis
by tweaking the Makefile and/or compiler command line.  DIAGNOSTIC is
the prime example of this sort of option---most of the time you
/don't/ want it to be on in a part of the kernel other than what
you're working on, and you'll probably do something like `make CC="cc
-DDIAGNOSTIC"' to ensure that this is so.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, ANA, or NSA|                     - Susan Aglukark and Chad Irschick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9612071957.AA20744>