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

Rescue Building on Windows page from the old wiki

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:
  • Download and install cygwin. On the package selection screen, make sure to select the following packages that are not part of the default install: bison, curl, flex, gperf, perl, openssh, svn, unzip and gcc (we only use cpp).
  • Check out WebKit in the usual way.
  • Run WebKitTools/Scripts/install-win-extras. This will install a few extra software packages on your system: icu, iconv, libxml, libxslt and setx. It will also configure the PATH and WebKitOutputDir environment variables. You may wish to change WebKitOutputDir from the default of C:\WebKitBuild.
  • Optional: if you would like an IRC client for Windows, try mIRC, X-Chat, or Trillian. If you want a non-IE browser, try Firefox or Opera.


From within Visual Studio

To build from within Visual Studio, open up JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore.sln and then select Build. There are two configurations, Debug and Release. The output directory structure is identical to Xcode, so you can safely change configurations and preserve your other configuration's intermediates and libraries/executables.

After you've succeeded in building JavaScriptCore, you can do the same for WebCore, by opening up WebCore/WebCore.vcproj/WebCore.sln and selecting Build.

TODO: How to build Spinneret?

From the command line

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


This will build both projects.

Areas needing improvement

TODO: fill me in?