Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2007-04

Re: SymbianOS port

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marko Radojcic

I have done a bit of research of my own...

Basically, what was done is to try compiling for emulator and then translating it to the native symbian code...

OK.

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 mean PE or ARM ?

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

Just to try if it works.

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

P.S.
I'm have the latest svn from the svn.freepascal.org ...

Reply by email

Felipe Monteiro de Carvalho
to Marko Radojcic
Marko Radojcic 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

Reply by email