Changes between Version 4 and Version 5 of BuildingOnWindows


Ignore:
Timestamp:
Apr 25, 2007, 11:10:29 AM (18 years ago)
Author:
pkasting@google.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindows

    v4 v5  
    2727 The ''default text file type'' must be set to ''DOS / text'' during installation.
    2828 * [http://webkit.opendarwin.org/building/checkout.html Check out WebKit] in the usual way. Make sure that the path to the checkout directory does not contain spaces (e.g. 'Documents and Settings'), the Perl build scripts cannot handle this.
    29  * 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`.
     29 * Install other dependencies needed by WebKit.  There are two ways to do this:
     30   * Run `WebKitTools/Scripts/install-win-extras`.  This will attempt to install the dependencies automatically. It will also configure the `PATH` and `WebKitOutputDir` environment variables. You may wish to change `WebKitOutputDir` from the default of `C:\WebKitBuild`.
     31   * Install the dependencies yourself.  You will need the following packages.  For each package, unzip, then move the resulting directory to a directory with the name given below (e.g. `iconv` for the iconv package) in the root of your WebKit checkout, except as directed.
     32     * iconv ( ftp://fr.rpmfind.net/pub/libxml/win32/iconv-1.9.1.win32.zip )
     33     * icu ( ftp://ftp.software.ibm.com/software/globalization/icu/3.4/icu-3.4-Win32-msvc7.1.zip )
     34     * libxml ( ftp://fr.rpmfind.net/pub/libxml/win32/libxml2-2.6.23.win32.zip )
     35     * libxslt ( ftp://fr.rpmfind.net/pub/libxml/win32/libxslt-1.1.15.win32.zip )
     36     * pthreads ( ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-8-0-release.exe ).  Unzip (this is a `.zip` with an `.exe` wrapper) and move the resulting `Pre-built.2` directory to the target `pthreads` directory.
     37     * sqlite ( http://sqlite.org/sqlitedll-3_3_17.zip (DLL), http://sqlite.org/sqlite-source-3_3_17.zip (header)).  Unzip and move the resulting files to the target `sqlite` directory.
     38     * zlib ( ftp://fr.rpmfind.net/pub/libxml/win32/zlib-1.2.3.win32.zip )
     39 * Configure your environment variables.  If you ran `install-win-extras`, this is already done.  Otherwise, consider setting the following environment variables:
     40   * `WebKitOutputDir` to `c:\WebKitBuild`
     41   * `Path` to include `WebKitTools/Scripts`, `c:\Program Files\Resource Kit`, and `c:\cygwin\bin`
    3042 * 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].
    3143
     
    3547=== From within Visual Studio ===
    3648
    37 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.
    38 
    39 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.
    40 
    41 For the test application, open `WebKitTools/Spinneret/Spinneret.sln` in VS. This also builds Webkit as a dependency.
     49To 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.
    4250
    4351=== From the command line ===
     
    4856}}}
    4957
    50 This will build both projects.
     58This will build both JavaScriptCore and WebCore in Release mode.
    5159
    5260== Problems? ==