This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/28511] can't bootstrap gcc / syntax error in gcc/opt-gather.awk
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2006 18:50:25 -0000
- Subject: [Bug bootstrap/28511] can't bootstrap gcc / syntax error in gcc/opt-gather.awk
- References: <bug-28511-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pluto at agmk dot net 2006-07-31 18:50 -------
(In reply to comment #3)
> Subject: Re: can't bootstrap gcc / syntax error in gcc/opt-gather.awk
>
> >
> >
> >
> > ------- Comment #2 from pluto at agmk dot net 2006-07-31 17:54 -------
> > (In reply to comment #1)
> > > What is on line 24 in the awk file?
> >
> > (...)
> > #
> > # Usage: awk -f opt-gather.awk file1.opt [...] > outputfile
> >
> > function sort(ARRAY, ELEMENTS) <=== line 24
>
> Hehe, maybe Sun's awk is not a POSIX awk like most of their system is not
> either.
so it will be better if gcc searches gawk in $path rather than awk.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28511