Subject: Re: proposed change to m68k-gcc CPP_SPEC / CPP_PREDEFINES
To: J.T. Conklin <jtc@cygnus.com>
From: Eduardo E. Horvath eeh@btr.com <eeh@btr.btr.com>
List: tech-userlevel
Date: 05/09/1996 09:06:42
On Tue, 7 May 1996, 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.
>
> Before I submit this change to the FSF, I'd appreciate any comments.
It would also be nice to define a particular machine architecture so if
you try to build X11 on, say, an Amiga, you don't build Xhp, or if you
compile on a Mac you don't build Xsun.
Eduardo