V8 JavaScript Engine on Windows (MinGW)

The build instructions of V8 JavaScript Engine mention only Visual Studio 2005 and 2008. Has anybody been successful with MinGW on Windows XP/Vista?

Answers


You just need to change Scons a bit. Take a look at C:\YourPythonFolder\Lib\site-packages\scons-YourSconsVersion\SCons\Script__ init__.py and go to line 560. Change the linker to gnulink, the c compiler to mingw and the c++ compiler to g++. Eventually it should look like this:

linkers = ['gnulink', 'mslink',  'ilink', 'linkloc', 'ilink32' ]
c_compilers = ['mingw', 'msvc',  'gcc', 'intelc', 'icl', 'icc', 'cc', 'bcc32' ]
cxx_compilers = ['g++', 'msvc', 'intelc', 'icc',  'c++', 'bcc32' ]

Now MingW is activated by default :)


There is a patch for MinGW support: http://codereview.chromium.org/18309

See also: http://code.google.com/p/v8/issues/detail?id=64


Need Your Help

Need UML reverse engineering tool for Java project

java eclipse eclipse-plugin uml

I need to maintain some project in Java, but it is very big. I need some plugin for Eclipse or program alone which can generate UML from Java project. Is there something what can help me ?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.