Building V8 for Linux
This is more of a question:
Do you build your prebuilt V8 libraries from this repository:
https://github.com/ncsoft/v8
Or do you use the standard V8 from Google?
I was able to get 6.1.534 to build from the version in your repository, but I was surprised how few libraries were created by the build compared to the OSX build (I compared them since they're both Unixes).
When I build from your 6.1.534.9999 branch, I get the following static libs:
libv8_libbase.a
libv8_libplatform.a
When I built 6.1.534.33 from Google's V8 repo, I get all of the libraries that OSX had (plus a few more):
libv8_base.a
libv8_builtins_generators.a
libv8_builtins_setup.a
libv8_external_snapshot.a
libv8_libbase.a
libv8_libplatform.a
libv8_libsampler.a
libv8_nosnapshot.a
libv8_snapshot.a
I've also noticed that when I run the compile script, Google's codebase has about 1500 files that get compiled vs about 1300 for yours, supposedly for the same version.
I run the following steps/commands to build v8 from your repo:
- fetch v8 [I first change the depot_tools fetch config to point to your v8 repo instead of googles]
- inside of v8 I do "git checkout -b 6.1.534.999"
- gn gen out.gn/v8-static --args='is_debug=false target_cpu="x64" is_clang=true'
- ninja -C out.gn/v8-static
Basically, I'd like to be able to build the latest version of v8 that you're using, and see if I can get the plugin to run under Linux, which is where I prefer to do my work if possible.
Thanks,
jonbitzen
Use the build from https://github.com/ncsoft/v8/tree/6.1.534.9999