*-rtems cleanup patches for gcc 3.0 branch
Neil Booth
neil@daikokuya.demon.co.uk
Fri Feb 15 16:01:00 GMT 2002
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.
More information about the Gcc-patches
mailing list