Updates:
Status: Assigned
Owner: [email protected]
Cc: [email protected]
Comment #1 on issue 2154 by [email protected]: Hello World example no
longer works after change from scons to gyp
http://code.google.com/p/v8/issues/detail?id=2154
Your experimentation results are correct: link against libv8_base.a and
libv8_snapshot.a to get snapshot support (faster startup), or libv8_base.a
and libv8_nosnapshot.a for a build without snapshot (if you're planning on
doing this anyway, you can pass "snapshot=off" to the make build to skip
building the snapshot in the first place, saving a little time).
I don't think there's an easy way to build an all-in-one libv8.a. It would
certainly be possible using 'ar' and a hand-written rule, but I'm not
convinced that'd be worth the effort (and disk space).
We'll update the documentation.
If you use GYP for your project yourself, things should just work when you
define a dependency on the "v8" target. See samples/samples.gyp as an
example.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev