Status: New
Owner: ----
New 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
The Getting Started guide at https://developers.google.com/v8/get_started
relies upon libv8.a being built, which is no longer the case with the GYP
build. Also, it'd be nice to have somewhere a simple run-down of which
libraries are needed (experimentation suggests libv8_base and
libv8_snapshot, though I suspect that libv8_nosnapshot works instead of the
other and disables snapshots).
My build command now looks like:
g++ -fPIC -Wl,-Bsymbolic-functions -lrt -I~/v8/include my_program_name.cpp
~/v8/out/native/obj.target/tools/gyp/libv8_base.a
~/v8/out/native/obj.target/tools/gyp/libv8_snapshot.a -lpqxx -lpq
-std=gnu++0x -Wall
(Some of that is because I also use PostgreSQL and such.) This is getting
rather lanky. Is there a simple option to the build to have it make a
merged libv8.a? If not, then this is a docs update request that the Hello
World can be brought up to date with GYP.
Thanks!
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev