This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: target_flags
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Mike Stump <mrs at apple dot com>, DJ Delorie <dj at redhat dot com>, <gcc at gcc dot gnu dot org>
- Date: Mon, 10 Mar 2003 23:12:29 -0500 (EST)
- Subject: Re: target_flags
On Mon, 10 Mar 2003, Zack Weinberg wrote:
> Mike Stump <mrs at apple dot com> writes:
> > Maybe the change would be less invasive if instead of replacing
> > TARGET_SWITCHES, we complemented it with TARGET_SWITCHES2... This
> > would remove the need to redo all existing ports. 90% of ports will
> > never need the extra functionality...
> > This type of change would also make it more palatable for 3.3.
>
> Ugh. Yeah, it's less invasive now, but it's not a good long-term
> solution.
Perhaps just name it differently (not using ...2 ..._NEW etc.)
Something like TARGET_SPECIFIC_OPTIONS or TARGET_SPECIFIC_SWITCHES?
brgds, H-P