[v8-users] Building v8 with msvc 2019 failed

2020-03-03 Thread chopeace
I'm trying to build V8 for embedding its dll files on my win32 C++ application. The build was successful with build command right below. However, when I try to link v8 and its dependency dll files with my test c++ project(Visual Studio 2019, Windows 10), link error occurs all the time. * workin

[v8-users] Building v8 shared library on windows

2019-12-01 Thread Bad
Hi I've been trying to implement v8 in a project of mine for more than a month and a half. It looks like I'm missing some step, as I've been able to obtain v8 header files, and .lib files, but I don't get how to build a DLL out of these. If someone finds a spare minute to help me, it would be ver

Re: [v8-users] Building v8 without PIC

2019-07-03 Thread Jakob Kummerow
I'm afraid those flags are not configurable. You'll have to edit build/config/compiler/BUILD.gn (for -fPIC) and build/config/gcc/BUILD.gn and gni/v8.gni (for -pie) -- but none of the BUILD.gn files under src :-) Note that this is entirely independent of how you build V8; gm.py has nothing to do wi

[v8-users] Building v8 without PIC

2019-07-02 Thread Noah Cantor
My project builds v8 via gm.py. Is there a way to get it to build non-PIC (i.e. without -fPIC and -pie flags) without modifying all the BUILD.gn files under src? -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because

Re: [v8-users] Building V8

2019-03-26 Thread Rodolph Perfetta
Have you tried using linux on windows with WSL: https://docs.microsoft.com/en-us/windows/wsl/about ? On Tue, 26 Mar 2019 at 11:01, Marto Parts wrote: > Yeah I have also a 64 bit machine but it is Windows and i wasn’t able to > build it over there since the documentation is sparse and doesn’t wor

Re: [v8-users] Building V8

2019-03-26 Thread Marto Parts
Yeah I have also a 64 bit machine but it is Windows and i wasn’t able to build it over there since the documentation is sparse and doesn’t work otherwise I will be happy to run it in the 64bit machine On Tue, 26 Mar 2019 at 15:19, Rodolph Perfetta wrote: > You can build a 32-bit v8 binary on a 6

Re: [v8-users] Building V8

2019-03-26 Thread Rodolph Perfetta
You can build a 32-bit v8 binary on a 64-bit machine and the resulting binary will run on a 32-bit machine. If you need to build on a 32-bit machine, then it is more involved and not officially documented. As said earlier this will likely require you to install tools, update config and scripts. O

Re: [v8-users] Building V8

2019-03-26 Thread Marto Parts
So long story short I can’t run v8 cause of 32 bit ? On Tue, 26 Mar 2019 at 00:27, Rodolph Perfetta wrote: > To use the bundled tools, you need a 64-bit machine. > > if this is not an option you could try installing all the dependencies > yourself (and disabling the use of bundled tools by speci

Re: [v8-users] Building V8

2019-03-25 Thread Rodolph Perfetta
To use the bundled tools, you need a 64-bit machine. if this is not an option you could try installing all the dependencies yourself (and disabling the use of bundled tools by specifying is_clang=false and probably more), but I don't believe this is documented. On Mon, 25 Mar 2019 at 17:36, wrot

[v8-users] Building V8

2019-03-25 Thread croos3a
I'm currently trying to build V8 for debug purposes on a Xubuntu machine (32 bit) Cloned the depot tools fetched V8 in a new folder and gclient sync but can't execute it or build it with GN as it says it is missing. Wasn't able to find a *single *working documentation on the entire process. If

[v8-users] Building V8 android ia32 on ubuntu 16.04.5

2018-12-20 Thread anton . d
Hi, is it possible to build v8 for android ia32 configuration? I was able to make an android arm build with the following *gn* args: *target_cpu = "arm"* *target_os = "android"* *v8_android_log_stdout = true* *v8_enable_backtrace = true* *v8_enable_slow_dchecks = true* *v8_optimized_debug =

Re: [v8-users] Building v8 with Makefile

2018-11-13 Thread madana gopal
Thanks for details Jakob and Peter. > Node has been using Makefile mechanism. I am interested to use ninja > mechanism here and trying it out first. With use_sysroot = false, is it > possible to explicitly mention alternate sysroot path as part of ninja > build? Please let me know. Thanks.

Re: [v8-users] Building v8 with Makefile

2018-11-13 Thread Peter Schow
Node has been built with yocto, correct? You may want to see see how the Node yocto recipe(s) work, and see if someone has already done the heavy-lifting for V8. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because

Re: [v8-users] Building v8 with Makefile

2018-11-13 Thread Jakob Kummerow
You can put: is_clang = false use_sysroot = false into args.gn to make the V8 build use your system toolchain and libraries instead of the bundled ones. On Mon, Nov 12, 2018 at 9:18 PM madana gopal wrote: > Hi, > > Also, v8 is using its own toolchain for arm,mips etc, and we have > toolchain

Re: [v8-users] Building v8 with Makefile

2018-11-12 Thread madana gopal
Hi, Also, v8 is using its own toolchain for arm,mips etc, and we have toolchain already present as part of our yocto build system.So, do we have any way to make v8 build to point to our own toolchain?. please clarify. Thanks. Regards, Madan -- -- v8-users mailing list v8-users@googlegroups

Re: [v8-users] Building v8 with Makefile

2018-11-12 Thread madana gopal
Thanks Jakob for the clarification. We will see the possibility and update. Regards, Madan -- -- 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 unsubscri

Re: [v8-users] Building v8 with Makefile

2018-11-12 Thread Jakob Kummerow
Ninja is the only officially supported build system for V8. I don't know the requirements of the yocto build system. If all you need is a wrapper, it should be very straightforward to create a two-liner Makefile that invokes the GN/ninja based build. If you need to replace GN/ninja entirely, you'

[v8-users] Building v8 with Makefile

2018-11-11 Thread madana gopal
Hi Team, I am trying to prepare a build for v8 in yocto build system. I saw v8 is using ninja. Can we generate Makefile for v8 instead of ninja file?. If so, please share the steps. Thanks. Regards, Madan -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v

[v8-users] Building V8 on Windows with Visual Studio 2017

2018-07-03 Thread Mike Moening
I'm trying to build V8 as a static library using Visual Studio 2017 (apparently 2017 is now required). I've done it in the past with VC 2015 successfully. After setting many environment variables and paths and following all the instructions multiple times it still won't work. I've got this in m

Re: [v8-users] Building v8 as a static library generates build errors, but ptoduces usable libraries

2018-05-03 Thread A.M.
On Thursday, 3 May 2018 12:44:14 UTC-4, Ben Noordhuis wrote: > > V8 by default links statically against the bundled libc++ in > buildtools/third_party/libc++ but dynamically against libc, librt, > etc. > Hmm... seeing how `v8.h` includes `memory`, it could cause problems regardless of whethe

Re: [v8-users] Building v8 as a static library generates build errors, but ptoduces usable libraries

2018-05-03 Thread Ben Noordhuis
On Wed, May 2, 2018 at 11:27 PM, A.M. wrote: > On Saturday, 28 April 2018 05:30:17 UTC-4, Ben Noordhuis wrote: >> >> the CRT linking logic is effectively hard-coded in >> build/config/win/BUILD.gn; look for 'default_crt'. You could try >> sending a CL that adds a build flag to override the defaul

Re: [v8-users] Building v8 as a static library generates build errors, but ptoduces usable libraries

2018-05-02 Thread A.M.
On Saturday, 28 April 2018 05:30:17 UTC-4, Ben Noordhuis wrote: > > the CRT linking logic is effectively hard-coded in > build/config/win/BUILD.gn; look for 'default_crt'. You could try > sending a CL that adds a build flag to override the default or simply > patch the file locally. > Ben, th

Re: [v8-users] Building v8 as a static library generates build errors, but ptoduces usable libraries

2018-04-30 Thread A.M.
On Monday, 30 April 2018 10:16:10 UTC-4, Ben Noordhuis wrote: > Node.js doesn't use GN. It uses a monolithic GYP build that links > everything together with /MT. > Never had to look inside node-gyp/Node.lib before and was wondering how one of the apps I was working on links against the dynam

Re: [v8-users] Building v8 as a static library generates build errors, but ptoduces usable libraries

2018-04-30 Thread A.M.
On Monday, 30 April 2018 10:16:10 UTC-4, Ben Noordhuis wrote: > > Node.js doesn't use GN. It uses a monolithic GYP build that links > everything together with /MT. > Interesting. Didn't know that. Thanks for pointing out. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.go

Re: [v8-users] Building v8 as a static library generates build errors, but ptoduces usable libraries

2018-04-30 Thread Ben Noordhuis
On Mon, Apr 30, 2018 at 3:25 PM, A.M. wrote: > Node.js is not suffering from this because it's using the component build, > which uses a CRT in a DLL Node.js doesn't use GN. It uses a monolithic GYP build that links everything together with /MT. (And yes, it's not without its downsides, too.)

Re: [v8-users] Building v8 as a static library generates build errors, but ptoduces usable libraries

2018-04-30 Thread A.M.
> Dynamically linking to the CRT there doesn't gain you much Not sure what you mean. Linking in dynamic CRT gives you so much that one should even consider whether to even work with a statically-linked CRT for any large project. The biggest issue is the heap CRT uses - if a project uses multipl

Re: [v8-users] Building v8 as a static library generates build errors, but ptoduces usable libraries

2018-04-29 Thread Ben Noordhuis
On Sat, Apr 28, 2018 at 7:25 PM, A.M. wrote: > Thanks for responding, Ben. Your feedback is always appreciated. > >> but apropos (2), >> the CRT linking logic is effectively hard-coded in >> build/config/win/BUILD.gn; > > This is surprising - it makes the static build of v8 quite expensive and > e

Re: [v8-users] Building v8 as a static library generates build errors, but ptoduces usable libraries

2018-04-28 Thread A.M.
Thanks for responding, Ben. Your feedback is always appreciated. > but apropos (2), > the CRT linking logic is effectively hard-coded in > build/config/win/BUILD.gn; This is surprising - it makes the static build of v8 quite expensive and error-prone to maintain for a multi-DLL project, given

Re: [v8-users] Building v8 as a static library generates build errors, but ptoduces usable libraries

2018-04-28 Thread Ben Noordhuis
On Sat, Apr 28, 2018 at 1:06 AM, A.M. wrote: > I have two questions related to building the v8 as a static library. > > 1. I'm building on Windows and the build fails very close to the end with > this output: > > ninja -C out.gn/x64.debug > ninja: Entering directory `out.gn/x64.debug' > [1/1] Rege

[v8-users] Building v8 as a static library generates build errors, but ptoduces usable libraries

2018-04-27 Thread A.M.
I have two questions related to building the v8 as a static library. *1*. I'm building on Windows and the build fails very close to the end with this output: ninja -C out.gn/x64.debug ninja: Entering directory `out.gn/x64.debug' [1/1] Regenerating ninja files [1441/1543] LINK unittests.exe unit

[v8-users] Building V8 static libraries for Windows x64

2017-12-12 Thread Adam Sobieski
Greetings. I would like to describe a build problem with x64 Windows and V8. The build configuration (args.gn) is: is_debug = false target_cpu = "x64" is_component_build = false v8_static_library = true The ninja process gets to mksnapshot.exe and then, apparently, isn't linking in kernel32.lib

[v8-users] Building v8 5.9 on Centos 6

2017-09-06 Thread Chris Hillery
I've seen several earlier threads on variants of this problem, but none of the solutions appear to work any more as they were for older versions of v8, or because depot_tools has moved on, or both. I need to build v8 5.9 for Centos 6. The big problem is that Centos 6 uses glibc 2.12, which is q

[v8-users] Building V8 on windows

2017-04-24 Thread Karthikeyan Subramanian
I downloaded depot_tools, extracted it. Followed instructions from https://www.chromium.org/developers/how-tos/install-depot-tools Fetched v8 Then based on instructions at https://github.com/v8/v8/wiki/Building%20with%20GN /tools/dev/v8gen.py -b "V8 Win64" -m client.v8 mav8 Then ninja -C out

Re: [v8-users] building V8 for Android on Mac or ubuntu w static libs?

2017-01-03 Thread Jochen Eisinger
yeah, due to vacations, my CL to fix the gn error is still under review. Meanwhile, you can build on linux, that should work already now On Mon, Jan 2, 2017 at 9:12 PM Mindy DelliCarpini wrote: > Thanks again for the help Jochen...but still broken: > > *.gclient:* > solutions = [ > { > "ur

Re: [v8-users] building V8 for Android on Mac or ubuntu w static libs?

2017-01-02 Thread Mindy DelliCarpini
Thanks again for the help Jochen...but still broken: *.gclient:* solutions = [ { "url": "https://chromium.googlesource.com/v8/v8.git";, "managed": False, "name": "v8", "deps_file": "DEPS", "custom_deps": {}, }, ] target_os = ['android', 'mac'] *gclient sync* relevant logs

Re: [v8-users] building V8 for Android on Mac or ubuntu w static libs?

2017-01-02 Thread Jochen Eisinger
On Sat, Dec 24, 2016 at 9:10 PM Mindy DelliCarpini wrote: > In case the issue is this, I'm running El Capitan 10.11.6 > > On Saturday, December 24, 2016 at 12:04:00 PM UTC-8, Mindy DelliCarpini > wrote: > > Ok so did this to the .gclient file 1 directory up: > solutions = [ > { > "url": "ht

Re: [v8-users] building V8 for Android on Mac or ubuntu w static libs?

2016-12-24 Thread Mindy DelliCarpini
In case the issue is this, I'm running El Capitan 10.11.6 On Saturday, December 24, 2016 at 12:04:00 PM UTC-8, Mindy DelliCarpini wrote: > > Ok so did this to the .gclient file 1 directory up: > solutions = [ > { > "url": "https://chromium.googlesource.com/v8/v8.git";, > "managed": Fals

Re: [v8-users] building V8 for Android on Mac or ubuntu w static libs?

2016-12-24 Thread Mindy DelliCarpini
Ok so did this to the .gclient file 1 directory up: solutions = [ { "url": "https://chromium.googlesource.com/v8/v8.git";, "managed": False, "name": "v8", "deps_file": "DEPS", "custom_deps": {}, "target_os" : ['android', 'mac'] }, ] Then: gclient sync Then tools/dev/v8gen.

Re: [v8-users] building V8 for Android on Mac or ubuntu w static libs?

2016-12-22 Thread Jochen Eisinger
hey, to build for android, you should add target_os = "android" and target_cpu = "arm". you'll also have to add target_os = ['android', 'mac'] to your .gclient file (which should be one level up from your v8 checkout), so gclient sync will download the android specific deps hth -jochen On Thu,

[v8-users] building V8 for Android on Mac or ubuntu (with static libs)?

2016-12-22 Thread Mindy DelliCarpini
Need a V8 build for our Mac/ Android tool. The TOT v8 builds are broken for Mac, and also for building static full libraries (no the thin .a files, which wouldn't be shareable) I'm interested in getting any of the following working (preference for Mac build, but I know its not a common thing)

[v8-users] building V8 for Android on Mac or ubuntu w static libs?

2016-12-22 Thread 'Mindy DelliCarpini' via v8-users
Need a V8 build for our prototyping tool (boom.googleplex.com). The tool runs with a Mac simulator, so the build has to be completed on a Mac. The TOT v8 builds are broken for Mac, and also for building static full libraries (no the thin .a files, which wouldn't be shareable) I'm interested in

[v8-users] Building V8 using libc++ on Linux

2016-11-30 Thread Mickaël Fourgeaud
Hi, I am trying to build V8 on a fresh Ubuntu 16.04 using libc++ instead of libstdc++. In case you wonder why, we want to integrate Linux support to UnrealJS , a Unreal Engine 4 plugin allowing to use JS. So after a few days trying to understand how the b

Re: [v8-users] Building v8 with Visual Studio 2015 on Windows 10

2016-11-29 Thread 'Michael Achenbach' via v8-users
I don't know if the --ide option can be used for building V8. We don't officially support it. The stackoverflow link you provided contains also the answer we officially support: http://stackoverflow.com/a/39550343 Could you try building with ninja and see if it works for you? Of course, if you

Re: [v8-users] Building v8 with Visual Studio 2015 on Windows 10

2016-11-28 Thread jan . ehrhardt
Or: D:\chromium\v8>gn gen --help | grep -A10 ide= --ide= Generate files for an IDE. Currently supported values: "eclipse" - Eclipse CDT settings file. "vs" - Visual Studio project/solution files. (default Visual Studio version: 2015) "vs2013" - Visual Studio

Re: [v8-users] Building v8 with Visual Studio 2015 on Windows 10

2016-11-28 Thread jan . ehrhardt
http://stackoverflow.com/questions/38674676/building-and-linking-v8-in-visual-studio And it is in in the gn help: D:\chromium\v8>gn gen --help | grep ide gn gen [] GN optionally generates files for IDE. Possibilities for --ide= Override default sln file name ("all"). Solution file is

Re: [v8-users] Building v8 with Visual Studio 2015 on Windows 10

2016-11-28 Thread 'Michael Achenbach' via v8-users
Please refer to the authors of the gn --ide=vs extension. I don't know what this is supposed to be doing. V8 officially only supports building with ninja. E.g. gn gen v5.4/x64.release ninja -C v5.4/x64.release d8 -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/gr

Re: [v8-users] Building v8 with Visual Studio 2015 on Windows 10

2016-11-24 Thread jan . ehrhardt
Take a look at how I built V8 5.4.500.43: https://github.com/phpv8/v8js/issues/272#issuecomment-262848754 -- -- 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

Re: [v8-users] Building V8 libs for Android on Windows 10

2016-11-10 Thread sdaniel
Jochen I have the latest g++ packages installed . However I discovered that all components of the V8 package did not download. The command "gclient sync --with_branch_heads" seems to fail with this message: .. Downloading /home/sanjit/V8Dev/v8/third_party/binutils/Linux_x64/binutils.t

Re: [v8-users] Building V8 libs for Android on Windows 10

2016-11-08 Thread Jochen Eisinger
Looks like you might need to install the g++ package? On Mon, Nov 7, 2016 at 12:39 PM Trekkie Ufo wrote: > Hi, managed to install everything on Ubuntu Linux and fired off a V8 build > for Android. > > (1) gn gen out.gn/foo --args='is_debug=false target_cpu="arm64" > v8_target_cpu="arm64" use_gom

Re: [v8-users] Building V8 libs for Android on Windows 10

2016-11-07 Thread Trekkie Ufo
Hi, managed to install everything on Ubuntu Linux and fired off a V8 build for Android. (1) gn gen out.gn/foo --args='is_debug=false target_cpu="arm64" v8_target_cpu="arm64" use_goma=false target_os = "android" is_component_build = true ' (2) ninja -C out.gn/foo I keep getting errors like the

Re: [v8-users] Building V8 libs for Android on Windows 10

2016-11-07 Thread Trekkie Ufo
Ah thanks Jochen ! Got Ubuntu running in a Virtual box and making good progress. Sanjit On Monday, 7 November 2016 07:35:35 UTC, Jochen Eisinger wrote: > > Hi, > > we currently only support building for Android on a Linux or a Mac host. > > best > -jochen > > On Sun, Nov 6, 2016 at 2:37 PM Tr

Re: [v8-users] Building V8 libs for Android on Windows 10

2016-11-06 Thread Jochen Eisinger
Hi, we currently only support building for Android on a Linux or a Mac host. best -jochen On Sun, Nov 6, 2016 at 2:37 PM Trekkie Ufo wrote: > Hi > I am trying to build V8 for use in a plugin I am developing for the Unreal > Engine 4. My aim is to run the project on the Google Daydream VR platf

[v8-users] Building V8 libs for Android on Windows 10

2016-11-06 Thread Trekkie Ufo
Hi I am trying to build V8 for use in a plugin I am developing for the Unreal Engine 4. My aim is to run the project on the Google Daydream VR platform and hence I need V8 Android libraries. Ive tried everything in your documentation but it just doesnt work. Ninja seems to be using it and I get com

[v8-users] building v8 fails on bytecode-peephole-table.cc because libv8_libbase.dylib not found

2016-10-17 Thread Zac Hansen
I've been successfully building v8 for quite a while and recently pulled a new version and am getting the following error on os x el capitan: make library=shared snapshot=off x64.debug -j2 ACTION src_v8_gyp_v8_base_target_run_mkpeephole /Users/xaxxon/v8/out/x64.debug/obj.target/v8_base/geni/b

Re: [v8-users] Building v8

2016-10-17 Thread Travis Sharp
I had to manually create the .a file. I will see if I can dig up the script I used to generate it. On Mon, Oct 17, 2016 at 7:19 AM, Temuri Imnaishvili wrote: > 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 n

Re: [v8-users] Building v8

2016-10-17 Thread Temuri Imnaishvili
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/gy

Re: [v8-users] Building v8

2016-10-17 Thread Jochen Eisinger
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 wrote: > Jochen, > > Facing the same problem. Can you provide us with help o

Re: [v8-users] Building v8

2016-10-15 Thread Temuri Imnaishvili
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 emb

[v8-users] Building v8 on ubuntu 16.04

2016-10-11 Thread Bryan White
I am trying to build v8 but it is failing on the 'fetch v8' command. This is the output: Running: /usr/bin/python /home/bryan/v8/v8Oct2016/depot_tools/gclient.py root Running: /usr/bin/python /home/bryan/v8/v8Oct2016/depot_tools/gclient.py config --spec 'solutions = [ { "managed": False,

[v8-users] Building V8 on FreeBSD

2016-10-04 Thread Jose Madrigal
Hello !!! I been trying to build V8 on FreeBSD due the ports are not updated to the recent version of v8 but I have struggled a lot. I wonder if someone already build v8 on FreeBSD that could point me out in the right direction to achieve it. Thanks in advance !! -- -- v8-users mailing list

Re: [v8-users] Building v8 with gn.

2016-10-02 Thread Jane Chen
I figured out how to build with gyp now. Would still be nice to know how to link libv8_libplatform.lib and libv8_libbase.lib with the gn approach. Thanks. On Sunday, October 2, 2016 at 3:12:02 PM UTC-7, Jane Chen wrote: > > I specified "is_component_build=true" on 5.3-lkgr. I do get libv8.so,

Re: [v8-users] Building v8 with gn.

2016-10-02 Thread Jane Chen
I specified "is_component_build=true" on 5.3-lkgr. I do get libv8.so, but I don't get libv8_libplatform.a or libv8_libbase.a. This is not a problem for me on Linux, since I could still build with gyp. But on Windows, I only seem to be able to build using gn now, and I need a way to generate

[v8-users] Building V8 engine for Windows CE6-ARM target

2016-09-27 Thread Avadhut Bhangui
Hello, I'm trying to build V8 engine for Win CE6-ARM target. Is there any documentation that can guide me through this process? /Avadhut. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to

Re: [v8-users] Building v8 with gn.

2016-09-22 Thread Jochen Eisinger
On Thu, Sep 22, 2016 at 1:22 AM Jane Chen wrote: > Trying to build v8 5.3-lkgr with gn for embedding use. > > When I build with GYP, I need to set "-Dv8_use_external_startup_data=0". > Is there an equivalent setting flag for gn? > the equivalent gn setting is v8_use_external_startup_data = false

[v8-users] Building v8 with gn.

2016-09-21 Thread Jane Chen
Trying to build v8 5.3-lkgr with gn for embedding use. When I build with GYP, I need to set "-Dv8_use_external_startup_data=0". Is there an equivalent setting flag for gn? Also if I build with gn and I need to link with libv8_libplatform.a, libv8_libbase.a etc, is there a flag to generate thos

Re: [v8-users] Building v8 with Visual Studio 2015 on Windows 10

2016-09-21 Thread 'Michael Achenbach' via v8-users
That'd be with set GYP_GENERATORS=msvs But I'm afraid we dropped official support for this a while back. Why not build with ninja? E.g. gyp_generator like you specified and then build with: ninja -C out\Release on x64 platforms might require: ninja -C out\Release_x64 On Wednesday, September 21

Re: [v8-users] Building v8 with Visual Studio 2015 on Windows 10

2016-09-21 Thread Pieter
Thanks for the reply Jochen, How do I specify the msvs gyp generator? On Wednesday, 21 September 2016 10:54:39 UTC+2, Jochen Eisinger wrote: > > If you want to build with MSVS, you need the msvs gyp generator. > msvs-ninja only supports browsing the project, not building it > > On Tue, Sep 20, 20

Re: [v8-users] Building v8 with Visual Studio 2015 on Windows 10

2016-09-21 Thread Jochen Eisinger
If you want to build with MSVS, you need the msvs gyp generator. msvs-ninja only supports browsing the project, not building it On Tue, Sep 20, 2016 at 10:04 AM Pieter wrote: > > I have been struggling for a couple of days to get the correct > incantations to get a build of v8 working on windows

[v8-users] Building v8 with Visual Studio 2015 on Windows 10

2016-09-20 Thread Pieter
I have been struggling for a couple of days to get the correct incantations to get a build of v8 working on windows 10 with visual studio 2015. In short the steps that i've been attempting are as follows - set DEPOT_TOOLS_WIN_TOOLCHAIN=0 - set GYP_MSVS_VERSION=2015 - set GYP_GENERATORS

Re: [v8-users] Building v8

2016-09-20 Thread Jochen Eisinger
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 wrote: > Ok - i'll try and give that a shot. Are there any plans o

Re: [v8-users] Building v8

2016-09-16 Thread Furious Scissors
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:

Re: [v8-users] Building v8

2016-09-16 Thread Andre Cunha
Hi, Is there an option to build a shared version of libplatform? I'm upgrading a project I'm working on from v8 5.3 (with static linking) to 5.4 (with dynamic linking), and I use libplatform. I used to link against libv8_libplatform.a, but now I cannot find an option in gn that automatically g

Re: [v8-users] Building v8

2016-09-15 Thread Jochen Eisinger
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 w

[v8-users] Building v8

2016-09-15 Thread Travis Sharp
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?

Re: [v8-users] Building v8 with a networking stack

2016-09-02 Thread Jochen Eisinger
chromium's implementation is here: https://cs.chromium.org/chromium/src/net/proxy/proxy_resolver_v8.cc?rcl=1472733616&l=703 On Fri, Sep 2, 2016 at 3:53 AM Nick Chambers wrote: > Hello everyone! I have successfully built v8, however I have run into a > snag. Essentially what I am after is the sma

[v8-users] Building v8 with a networking stack

2016-09-01 Thread Nick Chambers
Hello everyone! I have successfully built v8, however I have run into a snag. Essentially what I am after is the smallest amount of v8/chromium source that parses/resolves pac files. I know where to find the implementation of the basic functions like shExpMatch, but have been unable to find fun

Re: [v8-users] Building V8 Libraries Help. (Repositories Offline?)

2016-07-20 Thread Ben Noordhuis
On Wed, Jul 20, 2016 at 8:59 AM, Jochen Eisinger wrote: > Please reach out to IBM team. The svn server referenced in that > documentation doesn't exist anymore, however, the s390(x) port is meanwhile > (completely?) upstream, so just following the regular v8 build instructions > might work? I've

Re: [v8-users] Building V8 Libraries Help. (Repositories Offline?)

2016-07-20 Thread Ben Noordhuis
On Wed, Jul 20, 2016 at 12:33 AM, Allen Ng wrote: > Hello all, > > I do not know if this is the right place for this but it can't hurt to try! > I am currently trying to build V8 Libraries following this tutorial, > Building V8 Libraries Tutorial. I am trying to build these on a s390x Ubuntu > Doc

Re: [v8-users] Building V8 Libraries Help. (Repositories Offline?)

2016-07-20 Thread Jochen Eisinger
Please reach out to IBM team. The svn server referenced in that documentation doesn't exist anymore, however, the s390(x) port is meanwhile (completely?) upstream, so just following the regular v8 build instructions might work? On Wed, Jul 20, 2016 at 12:33 AM Allen Ng wrote: > Hello all, > > I

[v8-users] Building V8 Libraries Help. (Repositories Offline?)

2016-07-19 Thread Allen Ng
Hello all, I do not know if this is the right place for this but it can't hurt to try! I am currently trying to build V8 Libraries following this tutorial, Building V8 Libraries Tutorial . I am trying to build these on a s390x

Re: [v8-users] Building V8 without natives_blob.bin and snapshot_blob.bin

2016-06-29 Thread Dawid Skurzok
It works, thank you! W dniu wtorek, 28 czerwca 2016 16:33:20 UTC+2 użytkownik Ben Noordhuis napisał: > > On Tue, Jun 28, 2016 at 3:55 PM, Dawid Skurzok > wrote: > > I have problems with building V8 without external data files. I have > asked > > same question on SO but with no success. I thin

Re: [v8-users] Building V8 without natives_blob.bin and snapshot_blob.bin

2016-06-28 Thread Ben Noordhuis
On Tue, Jun 28, 2016 at 3:55 PM, Dawid Skurzok wrote: > I have problems with building V8 without external data files. I have asked > same question on SO but with no success. I think I'm missing something > simple, I don't know much of GYP. > > I already build V8 and its working correctly, but bina

[v8-users] Building V8 without natives_blob.bin and snapshot_blob.bin

2016-06-28 Thread Dawid Skurzok
I have problems with building V8 without external data files. I have asked same question on SO but with no success. I think I'm missing something simple, I don't know much of GYP. I already build V8 and its working correctly, but binary needs two "external data" files. I don want this files.

Re: [v8-users] Building v8 in an lxc container

2016-05-27 Thread Caleb Everett
Added the "o" flag to the extract line here: https://github.com/v8/v8/blob/5749d710bc73ef40f9b9e8b94ec290e0412d3f57/third_party/binutils/download.py#L91 and that worked, but then ran into another snag, similar to this one: https://bbs.archlinux.org/viewtopic.php?id=209871 Bailed on the build from

[v8-users] Building v8 in an lxc container

2016-05-27 Thread caleb
I'm trying to build v8 in an lxc container and am getting the following errors when I try to run gclient sync, I believe because the ownership uid:gid of the files that are being extracted is out outside of the range of uid:gid available to the container. How can I add the --no-same-owner flag

Re: [v8-users] Building V8 Older versions

2016-02-11 Thread hitesh mehata
Yeap, I completely understand. This is for the test purpose and I got few dependencies which requires me to use this version. I see programs used to compile with this version now fail to compile with newer versions, and can't change/modify these programs. Thanks, Hitesh On Thu, Feb 11, 2016 at 3

Re: [v8-users] Building V8 Older versions

2016-02-11 Thread Jakob Kummerow
3.9.24, are you sure? That's a daily development snapshot from almost 4 years ago! I'd strongly advise against using it for anything, as it is probably full of bugs, including security vulnerabilities. I wouldn't be surprised if it didn't even compile any more with modern compilers, as toolchains t

[v8-users] Building V8 Older versions

2016-02-10 Thread hitesh mehata
Hi, I am very new to v8, by looking at documentation, I could compile the latest version of v8 javascript engine and as well able to write some sample C++ programs. But my requirement is to build version 3.9.24 for x86/x64 Linux platform. I couldn't find any steps and no clue how can I procee

[v8-users] Building V8 Fails with MinGW-w64

2016-01-24 Thread igal
Hi, I'm trying to build v8 version 4.3.66 with MinGW-w64 and I'm getting errors which I can not understand. It'd be greatly appreciated if someone could make sense of the attached log file and advise on what seems to be the problem, or possible ways to fix it. Thank you, Igal -- -- v8-use

Re: [v8-users] Building v8 using Visual Studio 2015

2015-10-27 Thread Michael Eng
I followed https://chromium.googlesource.com/v8/v8/+/master/docs/building_with_gyp.md 1. Install Visual Studio 2015 Enterprise (Visual Studio 2013 Ultimate is also installed if that matters). 2. Download and unpack depot_tools to C:\depot_tools 3. cd to C:\depot_tools 4. gclient sync 5. fetch

Re: [v8-users] Building v8 using Visual Studio 2015

2015-10-27 Thread Mike Moening
Are you building & debugging with the Visual Studio IDE? Using a Visual Studio solution (.sln) file? I'm still on VS2013 and would LOVE to be able to use the IDE over DOS ninja commands. Can you point me to those instructions on how to make this happen? Thanks a lot! -- -- v8-users mailing l

Re: [v8-users] Building v8 using Visual Studio 2015

2015-10-27 Thread Michael Eng
I was only able to get V8 to build with VS2015 by editing build/standalone.gypi as Michael Collins posted. At this time, is V8 tested to work with MSVS 2015? Is there a plan to switch soon? Thanks, Michael On Monday, July 27, 2015 at 9:54:01 AM UTC-7, Jochen Eisinger wrote: > > I landed some co

Re: [v8-users] Building V8 on Mac OS X

2015-09-25 Thread Ben Noordhuis
On Fri, Sep 25, 2015 at 5:54 PM, Bradley Slavik wrote: > Dear V8 users group, > > I am looking for information about building V8 on Mac OS X. A few months > ago when I researched it, it appeared that GYP was necessary to build V8. > GYP required old Python 2 instead of Python 3 to be installed. S

[v8-users] Building V8 on Mac OS X

2015-09-25 Thread Bradley Slavik
Dear V8 users group, I am looking for information about building V8 on Mac OS X. A few months ago when I researched it, it appeared that GYP was necessary to build V8. GYP required old Python 2 instead of Python 3 to be installed. Should this bother me? Should I just be downloading V8 instead

Re: [v8-users] Building v8 with Visual Studio 2012

2015-08-10 Thread Purusothaman A
Thank you so much for your reply. - Purusothaman A On Mon, Aug 10, 2015 at 3:17 PM, Ben Noordhuis wrote: > On Mon, Aug 10, 2015 at 8:34 AM, Purusothaman A > wrote: > > Hi All, > > > > I am new to this group and I like to integrate google v8 with my project. > > > > Tried many times to build so

Re: [v8-users] Building v8 with Visual Studio 2012

2015-08-10 Thread Ben Noordhuis
On Mon, Aug 10, 2015 at 8:34 AM, Purusothaman A wrote: > Hi All, > > I am new to this group and I like to integrate google v8 with my project. > > Tried many times to build source with VS 2012, but its giving so many > compilation errors. > > Is there some step by step procedure to compile v8 sour

[v8-users] Building v8 with Visual Studio 2012

2015-08-09 Thread Purusothaman A
Hi All, I am new to this group and I like to integrate google v8 with my project. Tried many times to build source with VS 2012, but its giving so many compilation errors. Is there some step by step procedure to compile v8 source in Visual Studio 2012 ? Thanks in advance. - Purusothaman A -

[v8-users] building V8: Getting error running python build\gyp_v8

2015-08-04 Thread gamertag2100
Hi, I'm following the directions here: https://code.google.com/p/v8-wiki/wiki/BuildingWithGYP I'm running on a Windows 8 machine, trying to build V8 with Visual Studio. I was able to successfully generate the project files, but when I do a build, I get errors like: 15>c1xx : fata

Re: [v8-users] Building v8 using Visual Studio 2015

2015-07-27 Thread Jochen Eisinger
I landed some config changes to make v8 compile with MSVS 2015, however, I haven't ran tests yet. Since we don't have MSVS 2015 builders yet, that configuration might break, however, eventually, we'll switch to MSVS 2015, just not yet now. best -jochen On Thu, Jul 23, 2015 at 5:19 PM Michael Col

[v8-users] Building v8 using Visual Studio 2015

2015-07-23 Thread Michael Collins
I managed to get v8 to build under Visual Studio 2015 RTM. The issues that I ran into were with treating warnings as errors. Some things that were allowed under VS2013 now cause warnings with the VS2015 C++ compiler. There's a warning about a "typedef enum" without a name in dbghelp.h (line 154

  1   2   >