[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: Error with Make
From: |
Pierre Raoul |
Subject: |
FW: Error with Make |
Date: |
Sat, 22 Mar 2003 14:03:06 +0100 |
Hello,
I'm not sure what is the best place to post this message, so I forward it here.
Regards.
Pierre Raoul
-----Original Message-----
From: Pierre Raoul [mailto:address@hidden
Sent: Saturday, March 22, 2003 1:49 PM
To: address@hidden
Subject: Error with Make
Hello,
As I want to compile a parser with C++, I'm trying to use Bison 1.875b.
I'm working with Make 3.79.1, GCC 3.2, MingW 2.0.0.3, Msys 1.0.7, under Windows
Me.
When I lauch the command line
bison -y -t -r all -d -S lalr1.cc parser.y
in a DOS windows, everything is fine, I get all the files: y.tab.c u.tab.h
y.output location.hh, stack.hh, position.hh.
When I lauch a makefile with the lines
# by default YACC = bison -y
YACFLAGS = -t -r all -d -S lalr1.cc
[...]
build/parser.c build/parser.h: parser.y
$(YACC) $(YACFLAGS) $<
[...]
I get
MAKE: *** [build/parser.c] Error 1
and the only file that is created is y.output.
It seems to me that Make misunderstands the result value (if any?) returned by
bison? Am I right? Is it a bug of Bison?
Any idea?
Thanks.
Pierre Raoul
Nota: I think that this point is the same that Ramaswamy's one "Bison & Flex in
make", of Wed, 5 Mar 2003, but I haven't seen any answer to him.
- FW: Error with Make,
Pierre Raoul <=