This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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  <roger@eyesopen.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.

Many thanks.

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]