如何在 Windows 上构建 v8? [英] How do I build v8 on Windows?

查看:97
本文介绍了如何在 Windows 上构建 v8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能告诉我如何在 Windows 上安装和构建 v8?我在 VS 2008 上使用 Windows 7.

Could someone tell me how to install and build v8 on windows? I am using Windows 7 with VS 2008.

推荐答案

以下在 VS2013 中对我有用:

The following worked for me in 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

现在从 构建 googles v8 作为 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

这篇关于如何在 Windows 上构建 v8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆