Saturday, May 14, 2011

creating the V8 development environment

setup
- apt-get install libc6-dev-i386 lib32stdc++6
- svn checkout http://v8.googlecode.com/svn/trunk/ v8
- scons arch=x64
- scons sample=shell arch=x64

build
- g++ -c "/d/dev/proj/googtests/src/test.cpp" -g -m64 -O2 -fno-rtti -fno-exceptions -m64 -O2 -o ./Debug/src_test.o "-I." "-I." "-I./deps/v8/include"
- g++ -o ./Debug/googtests ./Debug/src_test.o "-L." "-L./deps/v8" -lv8 -lpthread