Actions
Bug #1231
closedYACC Make Rule Fails when building from source with nmake
Description
=begin
Check out Ruby from svn. Build it using VC2008 and nmake.
nmake will try to compile .y files to .c files. Assuming that you have bison and sed installed (via cygwin or msys) this fails because nmake grabs the y.c rule from the common.mk file, which is designed for GNU make.
Instead of:
$(YACC) -d $(YFLAGS) -o y.tab.c $(<:\=/)
It should be:
$(YACC) -d $(YFLAGS) -o y.tab.c $(<:=/)
The attached patch adds the correct rule to Makefile.sub for nmake, leaving the GNUMake one alone.
=end
Files
Updated by nobu (Nobuyoshi Nakada) almost 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r22691.
=end
Actions
Like0
Like0