Building the Google V8 JavaScript engine as a Shell interpreter for Mac OS X
11/04/11 23:19 Filed in: Info
Here is an instruction for building the Google V8 JavaScript engine on Mac OS X as a shell tool for testing:
http://kourge.net/node/123
Just keep in mind, when you want to build it for Mac OS X Lion, the SCons call should be:
scons arch=x64
The rest of the build instructions goes unchanged. Also for the comment at the bottom of the page above, you would add:
scons arch=x64 sample=shell
and get a “shell” binary, which is the JavaScript standalone engine.
If you build the v8 binary, you can copy it for example to /usr/local/bin, to make it available in general.
Read More...
http://kourge.net/node/123
Just keep in mind, when you want to build it for Mac OS X Lion, the SCons call should be:
scons arch=x64
The rest of the build instructions goes unchanged. Also for the comment at the bottom of the page above, you would add:
scons arch=x64 sample=shell
and get a “shell” binary, which is the JavaScript standalone engine.
If you build the v8 binary, you can copy it for example to /usr/local/bin, to make it available in general.
Read More...