Project

General

Profile

Actions

Bug #1231

closed

YACC Make Rule Fails when building from source with nmake

Added by cfis (Charlie Savage) about 15 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2009-03-01) [i386-mswin32_90]
Backport:
[ruby-core:22602]

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

yacc.patch (591 Bytes) yacc.patch cfis (Charlie Savage), 03/01/2009 05:21 PM
Actions #1

Updated by nobu (Nobuyoshi Nakada) about 15 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r22691.
=end

Actions

Also available in: Atom PDF

Like0
Like0