[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error with Make
From: |
Pierre Raoul |
Subject: |
Error with Make |
Date: |
Sat, 22 Mar 2003 13:48:49 +0100 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Error with Make,
Pierre Raoul <=