[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

[console] -OBSOLETE- Building s8vm for MS Windows 32 and 64 bits (with GYP)

Install Visual C++ tools

We use "VS Express 2013 for Desktop" to build win32 and 64 versions of sv8m.

Download the V8 VM and install dependencies

We actually use SVN versión (Google announced they are moving to Git)
svn checkout http://v8.googlecode.com/svn/trunk/ v8
See Instructions to build V8 here.

Build V8 Project files (with GYP)

See Instruccions to build using GYP here
call "C:\Program Files\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
third_party\python_26\python build/gyp_v8 -D target_arch=ia32

Edit the Samples spec

{
      'target_name': 's8vm',
      'type': 'executable',
      'dependencies': [
        '../tools/gyp/v8.gyp:v8',
      ],
      'sources': [
        's8vm.cc'
      ],
      'msvs_disabled_warnings': [4018],
      },

Build the "all" Project again (release or debug)

Use the executable "s8vm.exe" stored in v8\build\Release