Project

General

Profile

Actions

Backport #7950

closed

Ruby 2 fails to build on mswin with VC

Added by Ryexander (Benjamin Powers) almost 12 years ago. Updated almost 12 years ago.


Description

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


Files

ruby-2.0.0_configure_output.txt (10.2 KB) ruby-2.0.0_configure_output.txt Ryexander (Benjamin Powers), 02/25/2013 08:07 AM
ruby-2.0.0-nmake_output.txt (4.5 KB) ruby-2.0.0-nmake_output.txt Ryexander (Benjamin Powers), 02/25/2013 08:07 AM
enc.mk (53.7 KB) enc.mk Ryexander (Benjamin Powers), 02/25/2013 11:55 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0