-
Notifications
You must be signed in to change notification settings - Fork 34
Constellation edited this page Nov 1, 2011
·
15 revisions
lv5 is ECMA262 5.1 VM project written in C++.
ECMA262 5.1 full support
BoehmGC and SCons is required.
First, install BoehmGC and SCons.
to install
sudo apt-get install libgc-dev libgc1c2
sudo apt-get install scons
version number may be different.
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 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”
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.