From owner-cvs-sys Fri Dec 6 23:32:44 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA15313 for cvs-sys-outgoing; Fri, 6 Dec 1996 23:32:44 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id XAA15297; Fri, 6 Dec 1996 23:32:08 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id SAA19272; Sat, 7 Dec 1996 18:29:05 +1100 Date: Sat, 7 Dec 1996 18:29:05 +1100 From: Bruce Evans Message-Id: <199612070729.SAA19272@godzilla.zeta.org.au> To: dyson@freebsd.org, peter@spinner.DIALix.COM Subject: Re: cvs commit: src/sys/i386/include endian.h Cc: bde@zeta.org.au, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, dyson@freefall.freebsd.org Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Perhaps we should seriously consider using 'cc -include opt_global.h' and >moving things like Ix86_CPU etc into there? It has the benefits of having Good idea, except for moving Ix86_CPU. It's better to use one option per feature. I think there are some 386 clones that have bswap. I didn't know about -include. >We would have to tweak the .depend generation in the Makefile though, since >cc -M doesn't seem to list files from -include. It should be a simple case >of a simple sed script. Dependencies could still work. We should fix cc -M or tweak mkdep. cc -M lists files included by the -included file. cc -E works right. Bruce