Subject: future NetBSD cpp predefines...
To: None <>
From: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
List: current-users
Date: 12/21/1994 06:43:59
After the next release of NetBSD, the various namespace-polluting cpp
predefines that are currently defined will be eliminated.

After the next release, NetBSD's cpp predefines will be:
	__NetBSD__		(this has been in place for a while)
	__${MACHINE_ARCH}__	(e.g. __m68k__, __i386__, etc.)
	any necessary machine-specific predefines

the latter set includes things like __GCC_NEW_VARARGS__ for those
ports where it's appropriate (e.g. sparc), and things like endianness
specifications (e.g. for the mips, which can be either-endian).

I've added these predefines (where they weren't already present) to
the gcc config files in the NetBSD source tree, and have left all of
the old predefines intact.  (The old predefines will be removed some
time after the next release of NetBSD.)

if you don't know what ${MACHINE_ARCH} is for your port, and want to
know, try:
printf 'all:\n\t@echo ${MACHINE_ARCH}\n' | make -f -