Changes between Version 10 and Version 11 of WinCE


Ignore:
Timestamp:
Dec 30, 2010 1:18:22 AM (13 years ago)
Author:
Patrick Gansterer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WinCE

    v10 v11  
    77The WinCE port of WebKit currently compiles on Windows.
    88
    9 
    109== Status ==
    1110
     
    1312
    1413== Getting the Source ==
    15 As the port is not completely upstreamed yet, one can get only the partial source code from official [http://webkit.org/building/checkout.html WebKit repository]. Instead, we are hosting our development in http://gitorious.org/+wincewebkit-developers/webkit/wincewebkit.
     14
     15Follow the procedures to [http://webkit.org/building/checkout.html checkout the source code].
     16
     17You also need to get the source code of third party libraries:
    1618
    1719{{{
    18 git clone git://gitorious.org/+wincewebkit-developers/webkit/wincewebkit.git
    19 git checkout wincegdi
     20git clone git://gitorious.org/webkit-thirdparty/webkit-thirdparty.git
    2021}}}
    21 
    22 Third party libraries are under "3rdparty" directory.
    2322
    2423If you get a message like "{{{fatal: The remote end hung up unexpectedly}}}" try to use the actual version of [http://code.google.com/p/msysgit/ msysgit].
    2524
    26 
    2725== Build ==
    2826
    29 We use [http://cmake.org/ CMake] as our build system. You don't need a full Cygwin environment, but the following tooles are required:
     27We use [http://cmake.org/ CMake] as our build system. You '''don't''' need a full Cygwin environment like Apple's Windows port, but the following tooles are required:
    3028
    31  * bison
    32  * flex
    33  * gperf
    34  * perl
    35  * python
     29 * [http://gnuwin32.sourceforge.net/downlinks/bison.php Bison]
     30 * [http://gnuwin32.sourceforge.net/downlinks/gperf.php GPerf]
     31 * [http://gnuwin32.sourceforge.net/downlinks/flex.php Flex]
     32 * [http://www.activestate.com/activeperl/downloads ActiveState Perl]
     33 * [http://www.python.org/download/ Python 2.x]
     34
     35Make sure the GnuWin32 packages are in your PATH as well as Perl and Python.
     36If you have Cygwin's bin directory in your path, make sure that it comes after ActiveState Perl and GnuWin32. You might have to remove it completely from your PATH if you have problems while building.
    3637
    3738=== Windows CE SDK ===
     
    4546Because the offical CMake has no support for Windows CE at the moment, we need to use a special CMake version.
    4647
    47 Plase install the latest CMake version from http://cmake.org/cmake/resources/software.html.
     48Please install the latest CMake version from http://cmake.org/cmake/resources/software.html.
    4849
    4950==== Build CMake with WinCE support (recommended) ====
     
    8081mkdir WebKitBuild
    8182cd WebKitBuild
    82 cmake -G "Visual Studio 8 2005" -DCMAKE_WINCE_SDK:STRING="STANDARDSDK_500 (ARMV4I)" -DPORT:STRING=WinCE \path\to\source
     83cmake -G "Visual Studio 8 2005" -DCMAKE_WINCE_SDK="STANDARDSDK_500 (ARMV4I)" -DPORT=WinCE -D3RDPARTY_DIR=/path/to/webkit-thirdparty \path\to\source
    8384}}}
     85
     86'''ATTENTION:''' The {{{3RDPARTY_DIR}}} argument needs slash as separator, while the path to the source needs backslash.
    8487
    8588This will generate a WebKit.sln in the WebKitBuild directory from the sourcecode in {{{\path\to\source}}}. You can change the generator to {{{Visual Studio 9 2008}}} if you want to generate Visual Studio 2008 projects. It is also possible to select an other Windwos CE SDK when you replace the {{{STANDARDSDK_500 (ARMV4I)}}} with the name of SDK you want to use.
    8689
    87 Now you should be able to open the solution and build it.
     90Now you should be able to open the solution and build it. You also can simply type {{{cmake --build . --config Release}}} in your build directory.
     91
     92The following is an example of the required steps:
     93
     94{{{
     95C:\>svn checkout http://svn.webkit.org/repository/webkit/trunk WebKit
     96C:\>git clone git://gitorious.org/webkit-thirdparty/webkit-thirdparty.git
     97C:\>mkdir WebKitBuild
     98C:\>cd WebKitBuild
     99C:\WebKitBuild>cmake -G "Visual Studio 8 2005" -DCMAKE_WINCE_SDK="STANDARDSDK_500 (ARMV4I)" -DPORT=WinCE -D3RDPARTY_DIR=C:/webkit-thirdparty C:\WebKit
     100C:\WebKitBuild>cmake --build . --config Release
     101}}}
    88102
    89103==== Possible Builderrors ====
     
    130144of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
    131145}}}
    132 If you get this message you probably need to copy additional files to your device. You can open the executable with Dependency Walker (depends.exe) to examine all dependecies. When you are building with Visual Studio 2005 the executable will depend on {{{MSVCR80.DLL}}}; with Visual Studio 2008 it will depend on {{{MSVCR90.DLL}}}.
     146If you get this message you probably need to copy additional files to your device. You can open the executable with Dependency Walker ({{{depends.exe}}}) to examine all dependecies. When you are building with Visual Studio 2005 the executable will depend on {{{MSVCR80.DLL}}}; with Visual Studio 2008 it will depend on {{{MSVCR90.DLL}}}.
    133147
    134148== Questions and feedback ==
    135149
    136 If you have questions please send an email to Patrick Gansterer <paroga@paroga.com>
     150If you have questions please send an email to the [http://groups.google.com/group/wincewebkit Windows CE WebKit Mailinglist].
     151
     152The staging area of the current development can be found at http://gitorious.org/+wincewebkit-developers/webkit/wincewebkit.