Re: [v8-users] Ubuntu C++ app - What libs to use

2015-05-12 Thread Louis Santillan
The short answer follows: # assuming linux vs. windows/osx/etc. git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH=$PWD/depot_tools:$PATH fetch v8 # assuming gcc instead of clang # assuming x64/amd64/x86_64 vs i386/i686/ia32 # assuming no i18n cd v8 make GYPFLAG

[v8-users] Ubuntu C++ app - What libs to use

2015-05-12 Thread Jason Josephy
I am trying to use V8 directly in my c++ app, but i have no idea what libs to link to. I have tried many different configurations and get all sorts of different unresolved external errors, far to many to post here. So what is the right incantation for linking? Any advice? thanks -- -- v8-u

Re: [v8-users] clang++ error

2015-05-12 Thread Jason Josephy
I did follow those instructions and fetch did not bring down clang. I'm going to nuke today and try again. -- -- 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" gro

[v8-users] Generated Libs in Windows Build

2015-05-12 Thread Jason Josephy
I just built using Visual Studio and I am confused by the generated libs. I read there should be a v8_lib.lib that I can link to but I see that there are 4 of these in the output they look like this v8_lib_0.lib v8_lib_1.lib v8_lib_2.lib v8_lib_3.lib Is this right and which one do I link to. Li

[v8-users] Re: Intent to implement: V8 extras

2015-05-12 Thread Michael Hablich
Hi Domenic, Jochen and Yang, this sounds really cool. Can you please add a link to an accessible design documentation? Collaboration will be much easier via GDocs. Thanks, Michael On Monday, May 11, 2015 at 7:52:25 PM UTC+2, Domenic Denicola wrote: > > Over the last two weeks we’ve been working

[v8-users] Re: [blink-dev] Intent to implement: V8 extras

2015-05-12 Thread Yang Guo
The plan is to introduce a V8 API that takes an object template that implements the bindings via function templates. This object template is used to create a bindings object, which is exposed to the script. This way it can call into C++ via function templates. I'll make it work with the seriali

Re: [v8-users] clang++ error

2015-05-12 Thread Jakob Kummerow
Which instructions have you been following? Probably not these: https://code.google.com/p/v8-wiki/wiki/UsingGit, because those would have told you to run "fetch v8", which would have downloaded clang. You don't need to install clang manually. On Mon, May 11, 2015 at 11:58 PM, Jason Josephy wrote

Re: [v8-users] Instrumentation of Javascript function

2015-05-12 Thread Jakob Kummerow
I don't really understand what you're trying to do (what is "the JavaScript API"? How do you want to "instrument" it?), but the short answer is probably "no". On Tue, May 12, 2015 at 5:05 AM, Jack wrote: > Hello, May I know is there a way to instrument the javascript API (like > substring), wh