SymbianOS

From Lazarus wiki
Revision as of 16:11, 26 October 2006 by Sekelsenmat (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The SymbianOS port of Free Pascal is being planned.

Roadmap to port FPC to SymbianOS

  1. Develop a Hello World application on c++ for SymbianOS
  2. Convert the Build software from perl to our own building system, and make it build the c++ software.
  3. Effectively start to port the Free Pascal Runtime Library
  4. Convert some c++ symbian applications to check for errors on the port

Comments

there is also an replacement for the Symbian build system wich uses Makefiles: http://www.koeniglich.de/sdk2unix/symbian_sdk_on_unix.html

That build system only targets the ARM device, not the Emulator, and isn´t available for UIQ 3. So it doesn´t help much --Sekelsenmat 16:11, 26 October 2006 (CEST)

A simpler way would be to concentrate on the POSIX compatible API that Symbian OS has... that would be much faster to do.... And it would not be fixed to UIQ only ...

We could probably reuse existing bindings (for example the Unix rtl or something like that...)

Versions Roadmap

The first target will be UIQ 3.0 for the Symbian OS on x86 architecture (the emulator).

Comments

The emulator does not use the E32 fileformat used by the real devices but makes an normal PE exe that bind against the emulator libraries so thath should be much easier to do than to really build ARM binaries... (I don't have Windows right now so I can't test anything yet...)

Yes, and that´s why the first target will be the emulator =) --Sekelsenmat 16:11, 26 October 2006 (CEST)

The Build Process

This section is a documentation on the attempt to re-engineer the UIQ 3 build system to a format more friendly to Free Pascal.

Two commands are executed when building UIQ 3 software for the emulator. Suppose your UIQ SDK is installed on c:\Symbian\UIQ3SDK and your software C++ source code is on C:\QHelloWorld\src.

On C++ you should enter the directory C:\QHelloWorld\group where the build file is located (bld.inf), and type:

bldmake bldfiles
abld build winscw udeb

The first command is responsable for:

Generating the directory: C:\Symbian\UIQ3SDK\epoc32\BUILD\Programas\SymbianOS\QHelloWorld\group

and filling it with many Makefiles

The second command is responsable for:

Generating the directory: C:\Symbian\UIQ3SDK\epoc32\BUILD\Programas\SymbianOS\QHelloWorld\group\QHELLOWORLD\WINSCW

There it will put the source code, a QHELLOWORLD.WINSCW file and a UDEB directory with compiled .o files for the software

It will also create a executable (QHelloWorld.exe) for the software on the directory: C:\Symbian\UIQ3SDK\epoc32\release\winscw\udeb

External Links