Mobile/Build/Symbian: Difference between revisions

From MozillaWiki
< Mobile‎ | Build
Jump to navigation Jump to search
Line 24: Line 24:


Test NSPR and continue porting other components like NSS, necko, xpcom and etc.
Test NSPR and continue porting other components like NSS, necko, xpcom and etc.
You can track the status of [http://spreadsheets.google.com/pub?key=puHMGxziDYnOk8BeukovcSA test cases report for NSPR on Symbian OS] from [http://doc.google.com GoogleDoc].


== Resources ==
== Resources ==

Revision as of 09:24, 22 May 2008

Building Mozilla for Symbian OS is in research stage now. The method and process mentioned here is subject to change greatly as the project goes on.

Overview

Our first milestone is to make XULRunner run on a cell phone with S60 3rd Edition platform whose underlying operating system is Symbian OS. To simplify this target, say we are porting Mozilla FireFox onto Symbian OS.

What has been done now

See bug 432430, you will find the patch which will make NSPR built on Symbian OS. But this patch only give you a success build, the result is not tested at all. I believe there are many fixes to do until the NSPR on Symbian OS could work as expected.

How to build

Before build NSPR for Symbian OS, it is assumed you know the build process and tool chain used to build a common Symbian OS project. If you haven't got the idea of running a Symbian OS project building, check this and this, the last part "Resources" will help too.

Then you can grab the patch, apply it under directory mozilla/nsprpub. After patch applied, you can use bldmake bldfiles and abld build gcce urel command to build the project under path mozilla/nsprpub/build/symbian. Also you could import bld.inf projects set file in your Carbide.C++ IDE and then build it.

Can I build it under Linux/Unix with gmake?

There is no official Symbian OS build method or tool chain other than the makmake and a serious Perl scripts tool chain provided by Symbian Ltd running on Windows platform. Martin have managed to collect enough tools and patches to make a way of building Symbian OS project in Unix environment. But this way is problematic, it has no emulator build support and also it uses the same makmake and a bunch of Perl scripts to manage the building process.

Although there is not an official way to utilize gmake, yet I think there may be a way out. Symbian OS target binary is also linked by gcc linker, and compiled by gcc compiler, what's different is that there is a post production executable assembler called "PETRAN" and other pre production resource compiler. All of them can be remade under Linux, IF somebody will pay his hours on this topic. At this moment I haven't see a very critical reason to do this.

What need to be done next

Test NSPR and continue porting other components like NSS, necko, xpcom and etc.

You can track the status of test cases report for NSPR on Symbian OS from GoogleDoc.

Resources

Symbian Developer Network

Forum Nokia

NewLC.com