This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix cygwin gawk wierdness in opts.sh
- From: Roger Sayle <roger at eyesopen dot com>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org, DJ Delorie <dj at redhat dot com>
- Date: Sat, 14 Jun 2003 08:29:07 -0600 (MDT)
- Subject: Re: [PATCH] Fix cygwin gawk wierdness in opts.sh
On Sat, 14 Jun 2003, Neil Booth wrote:
> Did this only just start? Yesterday we started passing multiple
> files to opts.sh; previously we just passed a single file. Maybe
> something to do with $@ ?
Ok, its really wierd. Yes, it has only just appeared in the GCC
bootstrap since we've changed to working with multiple files.
The failure more is the missing fbuiltin- entry from c.opt.
opts.sh c.opt works.
opts.sh f/lang.opt c.opt works
opts.sh java/lang.opt c.opt works
opts.sh f/lang.opt java/lang.opt c.opt doesn't.
Hence the switch to processing multiple files has triggered the
problem. However, it appears to have just been latent, I've
managed to produce a single input file that also demonstrates the
problem (or a closely related issue?).
> Does putting - explicitly on the command line help?
I've just tried, and unfortunately, it doesn't help.
> > 2003-06-14 Roger Sayle <email@example.com>
> > * opts.sh: Work around a mysterious feature in cygwin's gawk
> > where specifying the input files explicitly has different
> > behavior to piping them via stdin.
> I'm happy to try it and see.
As you're the original author of opts.sh, and "de facto" maintainer,
I'll take that as sufficient approval and check the change in.