Version 6 (modified by, 16 years ago) (diff)


Building on Windows

There is a decent amount of setup work before building of JavaScriptCore and WebCore on Windows. There are also some areas of the code which are not entirely fleshed out yet on Win32. This page serves to document those issues.

Build Environment Setup

  • Install a compiler:


From within Visual Studio

To build from within Visual Studio, open up WebKitTools/Spinneret/Spinneret.sln in Visual Studio. There are two configurations, Debug and Release; building one will not clobber the other. The solution will build JavaScriptCore and WebCore as dependencies, and finally the Spinneret test app.

From the command line

To build from the command line, you use the following syntax:


This will build both JavaScriptCore and WebCore in Release mode.


Sometimes, Visual Studio complains that it 'cannot spawn cmd.exe'. Should this happen, check if both your Cygwin\bin folder and c:\windows\sytem32 are both in the Visual Studio list of executable files (Tools -> Options -> VC++ Directories).

When you see errors in WebCore/css/makeprops or WebCore/css/maketokenizer, open those files in a suitable editor (SciTE works) and convert the line endings to LF only (Unix-style). Then restart the build.

Areas needing improvement

TODO: fill me in?

  • Describe DLL registration step