Changes between Initial Version and Version 1 of BuildingOnWindows


Ignore:
Timestamp:
Nov 12, 2006 4:19:47 AM (17 years ago)
Author:
bdash@webkit.org
Comment:

Rescue Building on Windows page from the old wiki

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindows

    v1 v1  
     1[[PageOutline]]
     2
     3= Building on Windows =
     4
     5There 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.
     6
     7== Build Environment Setup ==
     8
     9 * Install a compiler:
     10   * Visual Studio 2005, if you have MSDN subscription or have purchased it.
     11   * or [http://msdn.microsoft.com/vstudio/express/visualc/ Visual C++ Express Edition] (free of charge).  See the [http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ MSDN documentation] for information on building Win32 C++ applications using Visual C++ Express Edition.
     12
     13 * Download and install [http://cygwin.com/ 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).
     14 * [http://webkit.opendarwin.org/building/checkout.html Check out WebKit] in the usual way.
     15 * 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`.
     16 * Optional: if you would like an IRC client for Windows, try [http://www.mirc.com/ mIRC], [http://www.silverex.org/download/ X-Chat], or [http://www.ceruleanstudios.com/ Trillian]. If you want a non-IE browser, try [http://getfirefox.com/ Firefox] or [http://opera.com/ Opera].
     17
     18
     19== Building ==
     20
     21=== From within Visual Studio ===
     22
     23To 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.
     24
     25After you've succeeded in building JavaScriptCore, you can do the same for WebCore, by opening up `WebCore/WebCore.vcproj/WebCore.sln` and selecting Build.
     26
     27__TODO__: How to build Spinneret?
     28
     29=== From the command line ===
     30
     31To build from the command line, you use the following syntax:
     32{{{
     33WebKitTools/Scripts/build-webkit
     34}}}
     35
     36This will build both projects.
     37
     38
     39== Areas needing improvement ==
     40
     41__TODO__: fill me in?