Mobile/Symbian/NSPR: Difference between revisions

Line 34: Line 34:
=== Environment of mine ===
=== Environment of mine ===


The environment that produces this patch is a little different from prerequisites listed above. I'm using [http://www.slackware.org Slackware Linux] as my primary OS. This Slackware is based on V12.0 and runs a self customized 2.6.24.4 kernel. In my Slackware I set up a MS Windows virtual machine with SUN [http://www.virtualbox.org VirtualBox]. What's more unique is that I have only 4GB virtual hard disk for my MS Windows VM as its "drive C", then I connect the guest Windows OS and host Linux with [http://www.samba.org Samba]. So inside the guest Windows OS there is a network mapped "drive D" connected to a host Linux path, for example <tt>/home/user/windowsdrive/</tt>.  
The environment that produces this patch is a bit of unique. I'm using [http://www.slackware.org Slackware Linux] as my primary OS. And the build system is actually run in a [http://www.virtualbox.org VirtualBox] VM whose guest OS is a Windows. This is because the compiler for emulator targets and many tools in Nokia S60 SDK are Windows only.


The advantage of doing so is that the VM guest OS and host OS can access all free disk space at the same time, and both of them could read/write all files under a specific path, though sometimes a little dangerous. My working copy of the mozilla source tree is located in the public path so I can do cvs and daily maintenance under Linux, and build/debug Symbian OS executables inside the guest Windows OS.
Furthermore, I have only 4GB virtual hard disk for my Windows VM as its "drive C", then the guest Windows and host Linux are connected with [http://www.samba.org Samba]. So inside the guest Windows there is a network mapped "drive D" connected to a host Linux path, for example <tt>/home/user/windowsdrive/</tt>. The advantage of doing so is that the VM guest OS and host OS can access all free disk space at the same time, and both of them could read/write all files under a specific path, though a little dangerous. My working copy of the mozilla source tree is located in that public path so I can do cvs and daily maintenance under Linux, and build/debug Symbian OS targets inside the guest Windows.


It sounds complicated, but it's really convenient. However, I don't have any recommendation that whether you should setup your Symbian development environment like me, or not. I just want you to know this in case you feel strange about something below.
It sounds complicated, but it's really convenient. However, I don't have any recommendation that whether you should setup your Symbian development environment like me, or not. I just let you know this in case you run into any problem related with build environment.


== Steps ==
== Steps ==
90

edits