[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Is anyone else seeing ylwrap problems building gnubg?
From: |
Michael Petch |
Subject: |
Re: [Bug-gnubg] Is anyone else seeing ylwrap problems building gnubg? |
Date: |
Tue, 10 Aug 2004 10:43:47 -0600 |
I looked at this. One of the problems is that when ylwrap is called the
file y.tab.c is specified on the command line. The file doesn't exist so
ylwrap exits with a status of 1.
The ylwrap code that returns the error result code is interesting:
# A missing file is only an error for the first file. This
# is a blatant hack to let us support using "yacc -d". If -d
# is not specified, we don't want an error when the header
# file is "missing".
if test $first = yes; then
status=1
fi
On Thu, 2004-08-05 at 06:35, Holger wrote:
> At 13:36 03.08.2004, Jon Kinsey wrote:
> >Øystein O Johansen wrote:
> >
> >>Was there a solution to the ylwrap problem? I still have the problem at my
> >>new RHEL here. What should I do?
> >>(I'm running bison manually to skip the compile error)
> >
> >I can't remember the exact problem, but I'm sure it was my changes that
> >caused it...
> >
> >I think one solution was to not use ylwrap - I'm pretty sure yacc has a
> >%output option too.
>
> Last week or so I finally got around to trying Jim's tips to see what went
> wrong with ylwrap. The first ylwrap problem can be solved by deleting
> "%output="external_y.c" from external_y.y, as had been said before.
>
> But also from the output of set -x I have no clue what's (rather not)
> happening when making external_l.c. However, I got around it by removing
> the target and rule in Makefile for ".l.c". Then make applies the following
> auto rule which works here:
> flex -t external_l.l > external_l.c
>
> Btw, just a note: There's no column(1) on Solaris 9, it seems. But nothing
> fatal and only has impact on show version.
>
> Regards,
>
> Holger
>
>
>
> _______________________________________________
> Bug-gnubg mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-gnubg
--
Mike Petch
CApp::Sysware Consulting Ltd.
Suite 1002,1140-15th Ave SW.
Calgary, Alberta, Canada.
T2R 1K6.
(403)804-5700.
signature.asc
Description: This is a digitally signed message part