[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
Building s8vm for Mac OSX
Install XCode
It is required the current versión of XCode.
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
build/gyp_v8 -Dtarget_arch=x64 |
Edit the Samples spec
- Goto folder v8/samples
- Edit the file "samples.gyp"
- Add to targets array the following definition
{
'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)
build/gyp_v8 -Dtarget_arch=x64 |
xcodebuild -project build/all.xcodeproj -configuration Release |
Use the executable "s8vm" stored in v8/xcodebuild/Release