This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: *-rtems cleanup patches for gcc 3.0 branch
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: joel dot sherrill at OARcorp dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Feb 2002 22:52:30 +0000
- Subject: Re: *-rtems cleanup patches for gcc 3.0 branch
- References: <3C6D1D02.D72B257@OARcorp.com>
joel.sherrill@OARcorp.com wrote:-
> #undef CPP_PREDEFINES
> -#define CPP_PREDEFINES "-D_AM29K -D_AM29000 -D_EPI -Drtems -D__rtems__ \
> +#define CPP_PREDEFINES "-D_AM29K -D_AM29000 -D_EPI -D__rtems__ \
> -Asystem(rtems) -Acpu(a29k) -Amachine(a29k)"
This is the old syntax for assertions. I cleaned out all instances of
these about 18 months ago, so this seems to have crept back in from a
cut-and-paste from an external tree.
The new syntax matches that for macros, mainly because the old syntax is
a pain for cutting and pasting command lines, since the parentheses need
to be escaped in the shell. The new syntax is
-Asystem=rtems
etc., as was done correctly in other lines of your patch. Would you
please change any macros that use the old semantics to the new one?
Thanks,
Neil.