Skip to content
Constellation edited this page Nov 1, 2011 · 15 revisions

lv5 is ECMA262 5.1 VM project written in C++.

Status

ECMA262 5.1 full support

Dependency

BoehmGC and SCons is required.

Build

First, install BoehmGC and SCons.

Ubuntu, Debian

to install

sudo apt-get install libgc-dev libgc1c2
sudo apt-get install scons

version number may be different.

MacOSX

if you use homebrew, homebrew’s BoehmGC(bdw-gc) is broken in MacOSX Lion (crash).
So if you use it, This patched Formula

and SCons,

brew install scons

and…

and mv to the top directory of iv, and type it

scons lv5

SCons builds lv5 engine to obj/lv5/lv5, so copy and use it.

cp obj/lv5/lv5 ./

or

you can use XCode4 for building. open iv.xcodeproj and build target “lv5”

Windows

open constellation.sln and build “lv5” project.

but, it will be failed. Then, mv win/gc/gc.dll and win/gc/gc.lib to build directory and re-build.

All Categories:

  • iv -- iv core library
  • lv5 -- iv / lv5 build instructions
Clone this wiki locally