Subject: Re: proposed change to m68k-gcc CPP_SPEC / CPP_PREDEFINES
To: None <>
From: Gordon W. Ross <>
List: tech-userlevel
Date: 05/08/1996 09:28:31
> Reply-To:
> Date: Tue, 07 May 1996 15:01:45 -0700
> From: "J.T. Conklin" <>
> Sender:
> Precedence: list
> X-Loop: port-m68k@NetBSD.ORG
> The enclosed patchq removes mc68000 and mc68020 from our gcc's
> CPP_PREDEFINES, and defines __mc680X0__ as appropriate for 
> whatever -m680X0 flag is specified on the command line.
> This change is consistant with the goal of having only __NetBSD__ and
> __${MACHINE_ARCH}__ be predefined CPP macros, yet it allows users to
> have conditional code based on the target cpu.
> Before I submit this change to the FSF, I'd appreciate any comments.
> 	--jtc

When there are variants of the chip (68020,68030,...) it is
convenient to have a symbol representing the "family" so
I would suggest having __m68k__ defined as well.

(Maybe it is and I didn't understand the patch 8^)