From: "Ryexander (Benjamin Powers)" Date: 2013-02-25T08:12:21+09:00 Subject: [ruby-core:52852] [ruby-trunk - Bug #7950] Ruby 2 fails to build on mswin with VC Issue #7950 has been updated by Ryexander (Benjamin Powers). as an addition the ext/Setup file is configured like so option nodynamic win32api #socket zlib ---------------------------------------- Bug #7950: Ruby 2 fails to build on mswin with VC https://bugs.ruby-lang.org/issues/7950#change-36964 Author: Ryexander (Benjamin Powers) Status: Open Priority: Normal Assignee: Category: build Target version: 2.0.0 ruby -v: 1.9.3 Ruby 2.0 fails to build under mswin with VC (2008 - 2012) with link errors in order to solve some other errors we were having some edit were made 1. win32/Makefile.sub: - changed RUBY_SO_NAME to be without msvcrXXX prefix - remove -debug flag 2. ext/Setup - removed all extensions except win32api, socket and zlib 3. ext - add win32api extensions folder commands run ..\ruby-2.0.0-p0\win32\configure.bat --target=i386-mswin32 --with-static-linked-ext --disable-win95 --disable-install-doc --so-name=ruby200 nmake attached are txt file of the output from nmake and the configure.bat -- http://bugs.ruby-lang.org/