Google V8编程详解(一)V8的编译安装(Ubuntu)

V8的编译比较简单,需要同时安装git和svn.

下载V8源码:

git clone git://github.com/v8/v8.git v8 && cd v8
切换到最新版本:

git pull --rebase origin master

安装依赖:

make dependencies

编译:

make native mode=debug library=shared snapshot=on

编译后库文件会在v8/out/ia32.release路径下

V8的Makefile不支持make install.所以手动把out/ia32.release/lib.target/libv8.so复制到/usr/lib下即可。


猜你喜欢

转载自blog.csdn.net/feiyinzilgd/article/details/8247773
v8