Re: [v8-users] How to build d8 with no dependencies against libv8 or libv8_*.so

2018-09-07 Thread Mingwei Zhang
I checked recently. Looks like gn allows you to build d8 as one executable without dependencies on libv8*.so. Just adding "is_component_build = false" into your args.gn file before compiling should work. Using "ldd d8" will output: linux-vdso.so.1 => (0x7ffc542bb000) libpthread.so.0 =>

Re: [v8-users] How to build d8 with no dependencies against libv8 or libv8_*.so

2018-08-23 Thread Mingwei Zhang
Well, I remember in previous version it was a binary that has all libv8*.so included. So "ldd" should look like: linux-vdso.so.1 => (0x7fffc45d5000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f6c0aec6000) /lib64/ld-linux-x86-64.so.2 (0x7f6c0b29) libpthread.so.0 =>

Re: [v8-users] How to build d8 with no dependencies against libv8 or libv8_*.so

2018-08-22 Thread Peter Schow
On Tue, Aug 21, 2018 at 2:26 PM Mingwei Zhang wrote: > > No necessary. Since d8 with lots of dependencies generates issues for me on > debugging, I am just wondering if there is any options generating a self > contained d8 instead of a thin wrapper d8. I guess I do not understand the question.

Re: [v8-users] How to build d8 with no dependencies against libv8 or libv8_*.so

2018-08-21 Thread Mingwei Zhang
No necessary. Since d8 with lots of dependencies generates issues for me on debugging, I am just wondering if there is any options generating a self contained d8 instead of a thin wrapper d8. On Tuesday, August 21, 2018 at 11:57:41 AM UTC-7, Peter Schow wrote: > > On Tue, Aug 21, 2018 at 12:28

Re: [v8-users] How to build d8 with no dependencies against libv8 or libv8_*.so

2018-08-21 Thread Peter Schow
On Tue, Aug 21, 2018 at 12:28 PM Mingwei Zhang wrote: > > Hi, > > I try to compile V8 5.9.21 and some other version of V8 from source code. My > question is how to make d8 more self contained such that no dependencies like > libv8*.so are required to run the executable? Are you asking about

[v8-users] How to build d8 with no dependencies against libv8 or libv8_*.so

2018-08-21 Thread Mingwei Zhang
Hi, I try to compile V8 5.9.21 and some other version of V8 from source code. My question is how to make d8 more self contained such that no dependencies like libv8*.so are required to run the executable? Appreciate your help. -Mingwei -- -- v8-users mailing list v8-users@googlegroups.com