Patch: Use tm_defines to configure default scheduling model on PA
John David Anglin
dave@hiauly1.hia.nrc.ca
Wed Jun 12 11:47:00 GMT 2002
> > that includes the various config files. Placing the defines first
> > allows defaults in the headers to be overriden.
>
> Placing defines after allows you to redefine something with a simple
> undef/define, without the main header needing to know that you're
> doing it. There are cases that argue both ways, though.
How does that work? mkconfig.sh doesn't do undef's.
Although mkconfig.sh could be modified to undef/define when necessary,
I still think it better to put the defines first because the headers
may contain secondary defines based on the identifier that you want
to redefine.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Gcc-patches
mailing list