Subject: Re: proposed change to m68k-gcc CPP_SPEC / CPP_PREDEFINES
To: None <>
From: Jason Thorpe <>
List: tech-userlevel
Date: 05/07/1996 16:33:08
On Tue, 07 May 1996 15:01:45 -0700 
 "J.T. Conklin" <> wrote:

 > 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.

...but, __${MACHINE_ARCH}__ is __m68k__ ... I don't mind seeing 
__mc680X0__ as well (as optional, i.e. iff you specify -m680X0 on the 
command line), but __m68k__ is more inline with the goal.

Otherwise, I totally agree with the idea.

----save the ancient forests -
Jason R. Thorpe                             
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939