Hello greeniekin
This are the instructions I followed to build an (slightly) outdated version of the library (v3.9.9).
First you need to have:
- A working mingw gcc compiler
- A working scons installation
- An svn client
Then get the source code using the svn client from this url:
http://v8.googlecode.com/svn/tags/3.9.9For this version, you need to comment, or remove the line 888 of the file 'src/platform-win32.cc':
void* address = 0;
otherwise the compiler will complain about an unused variable and stop the compilation.
Once you edited the code, open a console in the directory where the source code is and issue this command:
scons mode=release library=static arch=ia32 os=win32
This should build a static library 'libv8.a'.
I know this are a somewhat vague instructions, so ask me if you don't understand something or need more details.