如何在Windows上构建v8?

时间:2011-05-10 16:41:08

标签: windows visual-studio-2008 scons v8

有人能告诉我如何在Windows上安装和构建v8吗?我在VS 2008中使用Windows 7。

1 个答案:

答案 0 :(得分:3)

以下在VS2013中为我工作:

来自http://gneu.org/2014/02/integrating-v8/

git clone git://github.com/v8/v8.git v8
cd v8
svn co http://gyp.googlecode.com/svn/trunk build/gyp
svn co http://src.chromium.org/svn/trunk/tools/third_party/python_26@89111 third_party/python_26
svn co http://src.chromium.org/svn/trunk/deps/third_party/cygwin@231940 third_party/cygwin
svn co https://src.chromium.org/chrome/trunk/deps/third_party/icu46 third_party/icu

现在来自Build googles v8 as shared library on windows?

third_party/python_26/python.exe build\gyp_v8 -Dtarget_arch=ia32 -Dcomponent=shared_library
msbuild /p:Configuration=Release /p:Platform=Win32 tools\gyp\v8.sln