Skip to content
oliver---- edited this page Nov 22, 2012 · 10 revisions

Welcome to the swig-v8 wiki!

FAQ

1.How do I configure it properly? I get ":3. Unable to find 'javascript.swg'" so I assume I've missed out some dependencies

Unix/Linux

> git clone git://github.com/oliver----/swig-v8.git
> cd swig-v8
> ./autogen.sh
> ./configure
> make

Running examples: (currently somewhat inconvenient as the default setup is for JavascriptCore)

> cd Examples/javascript/class
> make V8=1 javascript_exe
> make V8=1 check

Running the test-suite: (run from root source directory)

> make V8=1 check-javascript-test-suite

To get a debuggable version you have to run make commands this way:

> make CFLAGS="-g -O0" CXXFLAGS="-g -O0" <target>

Clone this wiki locally