[fpc-devel] SymbianOS port

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Apr 12 12:09:08 CEST 2007


On 4/12/07, Marko Radojcic <sambucuself at gmail.com> wrote:
> Basically, what was done is to try compiling for emulator and then
> translating it to the native symbian code...

Not really. What was done is for both, but focused on the emulator,
because it´s faster to develop on it (well, maybe not considering the
lot´s of linker problems I faced so far). There is no intention of
translating a emulator executable to the device.

In fact, it´s quite easy to create device executables because the gnu
binutils work for it.

> Let's think differently, if I would use Nokia Series 60 Symbian SDK, would
> there be a difference of what kind of code the emulator likes?

I have no idea ... you need to look at the S60 docs and find out.

> I mean PE or ARM ?

It´s not really PE or ARM. PE is a type of executable, ARM is a
processor architecture. I don´t remember exactly the name of the
executable type on the device, but it´s a special type of PE with
modifications.

> Anyway, maybe I should try compiling for THE DEVICE and then manually run it
> on the device...

My experience so far is that this is easier then writing for the
emulator, but it will take a lot of time to build a rtl without a
emulator.

> How should I configure makefiles to get the right cross-compiler?

Considering that the current rtl is targeted at uiq, you should read
the old topics I posted here about uiq development and do the same for
s60, from the start. We also need a mechanism to select which symbian
type of target we want.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list