Important Notice: Due to repeated WikiSPAM attacks it was nessesary to change the access policy! Only registered users can now edit.

Documentation/Linux

From UIQ3 open-source software

Jump to: navigation, search
Main Page > Documentation > Documentation/Linux

Contents


Most ot the UIQ3 develoment on Linux need to be done using a MS-Windows emulator. Two options are open:

VMware 
VMware will emulate a complete Windows PC. For OpenSource development the VMware Player is a cost effective alternative to the VMware Workstation. However, you will need a spare copy of Windows to install into the Emulator.
WINE HQ 
WINE allow Windows programs to executed directly under Linux. WINE is more difficult to set up but you won't need a spare Windows licence to use it.
Programm VMWARE WINE
DevCertRequest Ok Maybe Ok
signsis.exe Ok Ok

Only the compiler itself is available as a native Linux application.

Download ARM 2005Q1C Release 
The version of the CodeSourcery GCC compiler bundled with UIQ3 SDK.

gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2

Set-Up

Setting up VMware Player

The main difference between the free (beer) VMware Player and the quite expensive VMware Workstation is the missing set up tools. However, there are two options open:

  1. Use one of the many OpenSource configurations tools for the VMware Player.
  2. Download the evaluation version of VMware Workstation - you got 30 days to set up your environment - after which you continue using it indefinably using the VMware Player.

Apart from that: Setting up a VMware system is similar to setting up a normal windows system. Just follow the instruction.

Setting up WINE

Read Building UIQ3 programs on Linux from the Sony Ericsson Developer Wiki.

Setting up both

You can also set up both WINE and VMware Player at the same time. For this you set up a separate directory for UIQ3 development in Linux.

Using SAMBA you map the directory to a drive inside your VMware session and then install all the tools there instead of C:\.

Remember that the UIQ SDK and your source code must be on the same drive - the UIQ SDK cannot handle drive letters. Therefore is is really worth it to set-up a dedicated UIQ development drive/network disk.

Using tools

Sign SIS files

The signsis.exe works fine using WINE. Just remember that all pathnames apart from the exe file need to be Dos/Windows format and that you should use single quotes so that he backslash is not interpreted by bash.

For example to sign SMan you would use a command similar to:

wine /development root/UIQ3SDK/epoc32/tools/signsis.exe \
   '.\SMan.sis'                                         \
   '.\SignedSMan.SIS'                                   \
   'H:\.ssh\My_Certificate.cer'                         \
   'H:\.ssh\My_Key.key'                                 \
   "My_Password"
Personal tools