S60WebKit: Getting and Compiling the Source
来源:互联网 发布:vb.net format 日期 编辑:程序博客网 时间:2024/05/01 21:58
Getting the Source ¶
- Checkout a copy of S60WebKit from the WebKit Subversion repository:
cd <SDK installation path> svn checkout svn://anonsvn.opensource.apple.com/svn/webkit/S60/trunk S60
Please note:
- By default, the SDK installation path is C:/Symbian/9.1/S60_3rd
Building the Source ¶
- Compile S60WebKit by changing directory to the top of the source tree and running the build script, for example:
cd <SDK installation path>/S60 build
Please note that on rare occasions, when compiling for the very first time you may encounter the following error:
No rule to make target /EPOC32/INCLUDE/WebKitIcons_sdk.mbgThis error only occurs once and can safely be ignored: running a target build via build -t (which has an execution time of a couple of seconds) will return no errors. See http://bugs.webkit.org/show_bug.cgi?id=9289 for further information.
Once you've clean compiled, the next step is to check out Reindeer in the emulator.
So what does the build script do? ¶
Here's a quick overview of what build.bat does:
- Unless already done so, it will create the subst drive to <SDK path> for you
- Setups up your environment so that the Carbide and GCCE compiler suites are used by the SDK build system
- Extracts each of the zipfiles under <working copy>/S60Internals/*. These are mostly extracted to /epoc32
- Synchronises the layout test (rsync type operation) in your working copy to /epoc32/winscw/c/LayoutTests
- Does a number of 'abld' commands, depending on what options you passed to the script
- The output from the 'abld' command is redirected to both STDOUT and <working copy>/build.log. This is scanned for errors and a summary is output to the screen
Build options ¶
The build script supports a number of options. Here's the full usage statement:
build.bat [OPTS] [COMPONENT] -n Do not include clean in compile -f run freeze phase and exit -g GCCE compiler for hardware build -w Code Warrior compiler for emulator build -t Target build -d Turn on debugging, forces udeb flavour -e Export generated environment and exit -r Remove S60Internal dependencies and exit -s X Map drive to this letter. Defaults to x -h View this message
Requests welcome!
Build Examples ¶
To compile all components for winscw:
build -w
To compile all components for GCCE:
build -g
To do a 'target', or incremental, build:
build -t
To do build webcore, but don't execute the clean phase:
build -n webcore
To fully rebuild the memory manager:
build memman
Options can be bundled. For example, a GCCE target compile with debugging turned on (this forces udeb) for webkit:
build -gtd webkit
- S60WebKit: Getting and Compiling the Source
- 1.1 Getting the Source Tree
- JBoss Source Code Downloading and Compiling
- Compiling the Android source code for ARMv4T
- Compiling and Installing the Apache Web Server
- Cross compiling coreutils and generate the manpages
- Compiling PHP and Apache 2 from source on Linux OS
- Compiling Programs from Source
- Compiling Swift source files
- Getting Started with Eclipse and the SWT
- Getting the Current Date and Time
- Getting and installing the PEAR package manager
- 收藏:Getting started with the uClinux source code
- Compiling and Integrating Crypto++ into the Microsoft Visual C++ Environment
- Linux System Enhancements, Optimization and Compiling the Kernel
- C.1 Configuring and compiling the GNU C Library
- Compiling and installing RTEMS for the Raspberry Pi
- Getting started with the Eclipse and the swt
- 儿时的味道
- 画直线算法
- IIS服务器实战SSL
- about GridBadLayout??
- 关于数据结构实习的想法。。。。。。。。。
- S60WebKit: Getting and Compiling the Source
- Java Thread - Notes
- Eclipse3.2.1+MyEclipse5.0GA+Tomcat5.5配置JSP开发环境详解
- 看微软经理人如何进行项目管理
- 去掉导入注册表文件的确认对话框
- symbian中的几个API
- 制作Linux启动盘的方法
- 开篇
- 关于.Net Remoting以IIS发布的一些心得体会