Re: [v8-users] Link failure with libv8

2016-08-01 Thread Jochen Eisinger
Maybe your target system doesn't have the gold linker? ld -v should say something like: GNU gold (GNU Binutils 2.26.20160125) 1.11 You can also try to compile v8 without gold by setting linux_use_bundled_gold=0 and linux_use_gold_flags=0 in your GYP_DEFINES On Sat, Jul 30, 2016 at 6:13 PM Mark T

Re: [v8-users] How does the JS -> ASM generation work for ia32

2016-08-01 Thread Jakob Kummerow
On Sun, Jul 31, 2016 at 8:41 PM, D T wrote: > Hi there! > > This mailing list helped me so many times, so I will give it another try :) > I am executing a javascript file containing a simple addition program as > follows: > user@debugbox: v8/out/ia32.release/d8 --print_opt_code test.js > > The ad

[v8-users] Accessing class variables within static function bound with FunctionTemplate

2016-08-01 Thread Jack
Not sure if this is the right place to ask for help, sorry. I am using global->Set(String::NewFromUtf8(isolate, "print", NewStringType::kNormal). ToLocalChecked(), FunctionTemplate::New(isolate, V8Instance::js_print)); to create a print() function in JS from the following function: static void

[v8-users] Trying to build v8 on Windows

2016-08-01 Thread k . adams
Hi, This is the first time I have tried to build v8. The problem is that when I run: G:\DevQuark\EmbedV8\v8>python build\gyp_v8 Updating projects from gyp files... G:\DevQuark\EmbedV8\v8> this command returns in a few seconds with no obvious failure, but does not seem to generate an All.sln fi

[v8-users] Re: Trying to build v8 on Windows

2016-08-01 Thread k . adams
My apologies, I should have searched more thoroughly in this group first. Using set GYP_GENERATORS=msvs-ninja has fixed the problem. Cheers, Kit On Tuesday, August 2, 2016 at 12:56:42 PM UTC+12, k.a...@adinstruments.com wrote: > > Hi, > This is the first time I have tried to build v8. > > The

Re: [v8-users] Accessing class variables within static function bound with FunctionTemplate

2016-08-01 Thread Ben Noordhuis
On Tue, Aug 2, 2016 at 1:49 AM, Jack wrote: > Not sure if this is the right place to ask for help, sorry. > > I am using > global->Set(String::NewFromUtf8(isolate, "print", NewStringType::kNormal). > ToLocalChecked(), FunctionTemplate::New(isolate, V8Instance::js_print)); > to create a print() fun