Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 1996 18:29:05 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        dyson@freebsd.org, peter@spinner.DIALix.COM
Cc:        bde@zeta.org.au, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, dyson@freefall.freebsd.org
Subject:   Re: cvs commit: src/sys/i386/include endian.h
Message-ID:  <199612070729.SAA19272@godzilla.zeta.org.au>

index | next in thread | raw e-mail

>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


help

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