cowboyd/therubyracer — Issue #133: building on windows
Author: bughit
Created: 2011-12-21 07:08:23+00:00
State: open

a. libv8
1. prereqs: patch, python 2.7, scons
2. the problem here is scons, the included version does not build properly on windows, rather than try to fix it I used scons from the official installer. Removed all scons targets from the Makefile and changed the path to the scons script to: "/c/Python27/Scripts/scons.py" Also "toolchain=gcc" needs to be passed to scons.py, otherwise it may use msvc.

b. therubyracer
1. libpthread.a needs to be added to the devkit (from mingw)
2. the LIB line in the Makefile should be: "LIBS = $(LIBRUBYARG_SHARED) -lv8 -lpthread -lshell32 -lws2_32 -lwinmm"