[RFC] Convert a29k to new target CPP builtins

Jason R Thorpe thorpej@wasabisystems.com
Fri May 10 15:34:00 GMT 2002


On Fri, May 10, 2002 at 11:06:17PM +0100, Neil Booth wrote:

 > Isn't that what I had with TARGET_OS_CPP_BUILTINS?  Or are you
 > suggesting something extra?

Is it processed like a spec?  I.e. can I say:

	"-D__NetBSD__ %{posix:-D_POSIX_SOURCE}"

...or does it only work with the static part (i.e. "-D__NetBSD__")?

(I ask because I thought CPP_PREDEFINES only did the static bits, and
I just want to clarify the capabilities of the new thing :-)

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>



More information about the Gcc-patches mailing list