Hi, answers inline.
On Wed, Mar 7, 2018 at 8:16 PM, nikhil ap <
niks...@gmail.com> wrote:
> I am planning to integrate v8 into my already existing project. Is there a
> way to build v8 using Makefiles and not ninja. Is there a way to generate
> Makefiles and just give make?
Short answer: no.
Longer answer: V8 until recently supported the GYP build tool. GYP
can generate Makefiles and CMakeList.txt files, although the cmake
support is basic bordering on rudimentary. Could be an option if you
don't need the latest and greatest.
Alternative longer answer: you could maintain your own build files.
More work but you're not beholden to V8's build system. Two examples:
1.
https://github.com/bnoordhuis/io.js/tree/cmake/cmake/v8 (cmake-based)
2.
https://github.com/bnoordhuis/v8.rs/commit/2a20ed0f5 (make-based)
On Wed, Mar 7, 2018 at 8:23 PM, nikhil ap <
niks...@gmail.com> wrote:
> Also, I linking my application to v8 in an embedded environment. Does v8
> depend on any external libraries other than glibc/musl ?
The C++ runtime: libstdc++ or libc++.
libdl and librt if you count those as separate libraries (they're part
of glibc.)