Maintainer tools

Bruce Korb bkorb@allegronetworks.com
Mon Apr 23 12:46:00 GMT 2001


> >I think every person who ever hacked on inclhack.def contacted
> >me first.
> 
>   I've hacked on inclhack.def, and although I didn't contact 
> you first, I will now contact you afterward....

You haven't update the repository, therefore it's "first".
But, ok, *almost* everyone, then.... ;-)

> to be anything wrong with it but you might know of some syntax or
> portability issue I should take care of.

Strictly speaking, no.  There does not seem to be anything wrong.
I presume you tested them.  However, I do try to strongly emphasize
in the README that you should consider the `format' fixes before
`sed' fixes.  Try this :-)  And, please, alphabatize (makes finding
things easier).


+ /*
+  *   Fix VxWorks varargs header
+  */
+ fix = {
+     hackname = vxworks_varargs_a;
+     files    = arch/ppc/toolPpc.h;
+     select   = '/\* GNU C varargs support for the PowerPC with V.4 calling
sequence';
+     c_fix    = format;
+     c_fix_arg = "#ifdef __VXVARGS__\n#include <va_ppc.h>\n#else\n%0";
+  };
+ fix = {
+     hackname = vxworks_varargs_b;
+     files    = arch/ppc/toolPpc.h;
+     select   = '/\* END CYGNUS LOCAL Waiting for 2.7.1 to unfreeze \*/';
+     c_fix    = format;
+     c_fix_arg = "%0\n#endif /* !defined(__VXVARGS__) */";
+  };
+ 
+ /*
+  *   That last fix won't even work unless we make archPpc.h use the
default
+  *  search path when it includes toolPpc.h
+  *
+  */
+ fix = {
+     hackname = vxworks_arch_includepath;
+     files    = arch/ppc/archPpc.h;
+     select = '(#include.*)"toolPpc.h"';
+     c_fix    = format;
+     c_fix_arg = "%1<arch/ppc/toolPpc.h>";
+ };



More information about the Gcc mailing list