I've tried that. What I need in order to compile v8js is libv8_libplatform.a alongside its .so.
I can still get everything I need if I compile off 5.1.x branch with gyp. Then I'd do this and all would be fine: echo -e "create /usr/lib/libv8_libplatform.a\naddlib out/native/obj.target/tools/gyp/libv8_libplatform.a\nsave\nend" | sudo ar -M I've just recompiled v8 with "is_component_build = true", but tools/gyp/libv8_libplatform.a is not being generated. Could you please explain the problem? Thanks! On Monday, 17 October 2016 09:00:18 UTC-4, Jochen Eisinger wrote: > > support for compiling libplatform as a shared library landed a few days > ago. If you compile with the gn flag is_component_build = true, you should > get a shared library > > On Sat, Oct 15, 2016 at 10:06 PM Temuri Imnaishvili <temu...@gmail.com > <javascript:>> wrote: > >> Jochen, >> >> Facing the same problem. Can you provide us with help on compiling it >> correctly? >> >> Thanks! >> >> >> On Tuesday, 20 September 2016 03:25:21 UTC-4, Jochen Eisinger wrote: >> >>> If you want to build v8 with shared libraries, set the gn arg >>> is_component_build=true >>> >>> Yes, we intend to update the embedder guide. Contributions or bug >>> reports are always welcome! >>> >>> On Fri, Sep 16, 2016 at 7:43 PM Furious Scissors <furious...@gmail.com> >>> wrote: >>> >>>> Ok - i'll try and give that a shot. Are there any plans on upgrading >>>> the Embedded Guide to something more recent than v4.8? >>>> If I work this out - would I be able to contribute to the wiki to >>>> update it for everyone else? >>>> >>>> >>>> On Thursday, September 15, 2016 at 10:11:01 PM UTC-7, Jochen Eisinger >>>> wrote: >>>> >>>>> by default, we build thin archives which are suitable for static >>>>> linking against other apps, and yes, you will need the .o files around >>>>> for >>>>> that. >>>>> >>>>> If you'd rather have shared libraries (.so files), set the gn >>>>> arg is_component_build = true >>>>> >>>>> br >>>>> -jochen >>>>> >>>>> On Thu, Sep 15, 2016 at 5:07 PM Travis Sharp <furious...@gmail.com> >>>>> wrote: >>>>> >>>> I've followed the current instructions for building v8 with GN on >>>>>> https://github.com/v8/v8/wiki/Building%20with%20GN but after further >>>>>> inspection it looks as if the build only links the .o output instead of >>>>>> creating libraries for use in other applications. >>>>>> >>>>>> Am I missing a step or is this intended? I am trying to use the >>>>>> output library in another application. >>>>>> >>>>>> V8 Build-Head 5.4, Linux x64 >>>>>> >>>>>> -- >>>>>> -- >>>>>> v8-users mailing list >>>>>> >>>>> v8-u...@googlegroups.com >>>>> >>>>> >>>>>> http://groups.google.com/group/v8-users >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "v8-users" group. >>>>>> >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>>> an email to v8-users+u...@googlegroups.com. >>>>> >>>>> >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>> -- >>>> v8-users mailing list >>>> v8-u...@googlegroups.com >>>> http://groups.google.com/group/v8-users >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "v8-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to v8-users+u...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com <javascript:> >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-users+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.