On Mon, Jun 4, 2012 at 5:32 AM, zhong li <[email protected]> wrote:

> Hi ,
>
> I got the latest V8 source code and follow the build guide to compile
> successfully.but i don't get the such as libv8.a /libv8.so etc,instead
> of
>
> ./out/arm.debug/obj.host/tools/gyp/libv8_nosnapshot.a
> ./out/arm.debug/obj.host/tools/gyp/libv8_base.a
> ./out/arm.debug/obj.host/tools/gyp/libv8_snapshot.a
> ./out/arm.debug/obj.target/tools/gyp/libpreparser_lib.a
> ./out/arm.debug/obj.target/tools/gyp/libv8_nosnapshot.a
> ./out/arm.debug/obj.target/tools/gyp/libv8_base.a
> ./out/arm.debug/obj.target/tools/gyp/libv8_snapshot.a
> ./out/arm.release/obj.host/tools/gyp/libv8_nosnapshot.a
> ./out/arm.release/obj.host/tools/gyp/libv8_base.a
> ./out/arm.release/obj.host/tools/gyp/libv8_snapshot.a
> ./out/arm.release/obj.target/tools/gyp/libpreparser_lib.a
> ./out/arm.release/obj.target/tools/gyp/libv8_nosnapshot.a
> ./out/arm.release/obj.target/tools/gyp/libv8_base.a
> ./out/arm.release/obj.target/tools/gyp/libv8_snapshot.a
>
> which on is my needed?


libv8_base.a and libv8_snapshot.a. An update to the documentation is in the
works: http://code.google.com/p/v8/issues/detail?id=2154


> and why compile two libs  for host and target?
>

For snapshot creation we need to run "mksnapshot" on the host. Embedding
applications might need more than that, so when host and target
architecture are incompatible, we build all libraries for the host too.

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to