Tuesday, February 16, 2010

v8 on mingw

  1. install python
  2. install scons
  3. install svn
  4. checkout v8 svn checkout http://v8.googlecode.com/svn/trunk/ v8
  5. edit Sconstruct and comment out -Werror (maybe there's a way to disable it from command line) vim v8/SConstruct
  6. cd v8
  7. scons
  8. g++ -Iinclude samples\shell.cc libv8.a -lwinmm -lws2_32 -o v8.exe

No comments:

Post a Comment