public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Maintainer tools
@ 2001-04-16 13:36 Bruce Korb
  2001-04-18  5:55 ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Korb @ 2001-04-16 13:36 UTC (permalink / raw)
  To: 'Geoffrey Keating'
  Cc: 'gcc@gcc.gnu.org', 'rms@gnu.org'

Geoff wrote:
> So, it is not just "maintainers", it is all users
> who must be able to rebuild the program from source.

In the context of fixincludes, we are talking about
all those developers who are changing the fix definitions,
work on Windows boxes and are unable or unwilling to
rebuild fixincl.x on a separate platform.  I do not
believe this to be a large class of people.

So, anyway, we got lotsa choices:

1.  Continue as we are (AutoGen 4.x for fixincludes &
    the current 5.x for everything else).  This seems
    not to be a big deal.  fixincludes does not exactly
    stretch AutoGen, so I don't need to diddle with it
    very much.

2.  Get a cut-down Guile working on Win-NT (under CygWin?)
    so I can port AG-5.x

3.  Require the above class of developers have access to
    a Guile-enabled box.

4.  Disable include fix hacking on Windows.  (Don't we already
    disable include fixing?)

I think every person who ever hacked on inclhack.def contacted
me first.  I think it safe to say that if the developer class
is non-empty, then it is certainly a group that can be counted
on one hand.  I always figured #1 was easiest, which is why
I never brought it up before.

So, I vote for #1.  I prefer #2, but someone has to get
Guile reliably working on Windows.  #3 and/or #4 are ok by
me, too, but I won't make such a decision.

Regards,
	Bruce

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Maintainer tools
@ 2001-04-23  8:56 David Korn
  0 siblings, 0 replies; 5+ messages in thread
From: David Korn @ 2001-04-23  8:56 UTC (permalink / raw)
  To: 'Bruce Korb'; +Cc: 'gcc@gcc.gnu.org'

>-----Original Message-----
>From: Bruce Korb [ mailto:bkorb@allegronetworks.com ]
>Sent: 16 April 2001 21:37

>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....

  ... to ask if you'll review my patch, or at any rate just cast an 
experienced eye over the inclhack hunk in it.  I don't think there's likely
to be anything wrong with it but you might know of some syntax or
portability issue I should take care of.

http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00015.html

  The first inclhack is supposed to detect a block of code that has a
comment at the start and end of it, and add a #ifdef-#else-#endif wrapper
around the original contents.  The second hack is supposed to replace a
#include line that uses quotes around the filename with an equivalent
that uses angle brackets (because it's a system file).  I wrote both of
these by basically modelling them along the lines of other hacks I found
that did similar jobs to what I wanted.

      DaveK
-- 
Any sufficiently advanced technology is indistinguishable from a rigged
demo.


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Maintainer tools
@ 2001-04-23 12:46 Bruce Korb
  2001-04-23 16:39 ` Dave Korn
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Korb @ 2001-04-23 12:46 UTC (permalink / raw)
  To: 'David Korn', Bruce Korb; +Cc: 'gcc@gcc.gnu.org'

> >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>";
+ };

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-04-23 16:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-16 13:36 Maintainer tools Bruce Korb
2001-04-18  5:55 ` Richard Stallman
2001-04-23  8:56 David Korn
2001-04-23 12:46 Bruce Korb
2001-04-23 16:39 ` Dave Korn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).