From: Heesob Park Date: 2010-12-03T17:23:38+09:00 Subject: [ruby-core:33542] Re: [Ruby 1.9-Bug#4113][Open] Cannot build trunk with MSVC. Hi, 2010/12/3 Nobuyoshi Nakada : > Hi, > > At Fri, 3 Dec 2010 10:53:50 +0900, > Heesob Park wrote at [ruby-core:33530]: >> The version of rc.exe is independent of the version of cl.exe. >> The RC command in the SDK of version 6.x does not support -ologo. >> The -nologo option requires the SDK of version 7.0A of higher. > > I didn't know that such combination was possible. > > Does this help? > > > diff --git a/win32/Makefile.sub b/win32/Makefile.sub > index 18a8cb4..5f34f2e 100644 > --- a/win32/Makefile.sub > +++ b/win32/Makefile.sub > @@ -240,7 +240,7 @@ DLDFLAGS = $(LDFLAGS) -dll > ��SOLIBS = > ��RCFILES = $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc > ��!ifndef RCFLAGS > -!if $(MSC_VER) >= 1500 > +!if [$(RC) -? | findstr nologo] == 0 > ��RCFLAGS=-nologo > ��!endif > ��!endif > Yes, it helps. Regards, Park Heesob