gcc - Cant build V8 with GYP successfully on Mac OSX -


i followed v8 build instructions here

here steps i'm following build v8 on mac osx.

1. git clone git://github.com/v8/v8.git v8-src && cd v8-src 2. make dependencies 3. make x64 -j8 library=shared snapshot=on console=readline 

but not see out/x64.release/obj.target/tools/gyp/libv8_base.x64.a (or snapshot.a)

the folder contains js2c.stamp

here gist: build output

what doing wrong ..

ok, documentation specifies location linux machines. mac osx, these files here :

out/x64.release/libv8_base.x64.a (& snapshot.a)

finally, compile c++ module, linking v8, below:

g++ -iinclude test.cc -o test out/x64.release/libv8_{base.x64,snapshot}.a -lpthread


Comments