Re: [fpc-devel] SymbianOS port

2007-04-12 Thread Felipe Monteiro de Carvalho
On 4/12/07, Marko Radojcic <[EMAIL PROTECTED]> 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 conside

Re: [fpc-devel] SymbianOS port

2007-04-11 Thread 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

Re: [fpc-devel] SymbianOS port

2007-01-25 Thread Felipe Monteiro de Carvalho
On 1/25/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: But did you add your new system unit to the makefile in rtl\symbian? Ah, ok, that was the problem! I didn´t know I had to alter the Makefile.fpc for each new unit. thanks, -- Felipe Monteiro de Carvalho __

Re: [fpc-devel] SymbianOS port

2007-01-25 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: On 1/25/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: That is right, no rtl units for Symbian have been written, so the Makefile doesn't contain them. Start with the system unit I would say. Yes, but I added my system unit, and used fpcmake to regenerat

Re: [fpc-devel] SymbianOS port

2007-01-25 Thread Felipe Monteiro de Carvalho
On 1/25/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: That is right, no rtl units for Symbian have been written, so the Makefile doesn't contain them. Start with the system unit I would say. Yes, but I added my system unit, and used fpcmake to regenerate all makefiles on the rtl directory,

Re: [fpc-devel] SymbianOS port

2007-01-25 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: Hi, On 1/25/07, Florian Klaempfl <[EMAIL PROTECTED]> wrote: This is rather useless imo, even a cross cycle is far away for symbian. Something like make arm in the compiler dir and make FPC=c:\fpc\compiler\ppcarm -XP$FPCTARGET- in the rtl/symbian dir should b

Re: [fpc-devel] SymbianOS port

2007-01-25 Thread Felipe Monteiro de Carvalho
On 1/25/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: Another point, the rtl\symbian directory is still empty. But maybe you have more locally. Yes, of course. -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] SymbianOS port

2007-01-25 Thread Felipe Monteiro de Carvalho
Hi, On 1/25/07, Florian Klaempfl <[EMAIL PROTECTED]> wrote: This is rather useless imo, even a cross cycle is far away for symbian. Something like make arm in the compiler dir and make FPC=c:\fpc\compiler\ppcarm -XP$FPCTARGET- in the rtl/symbian dir should be enough Actually I´m building for i

Re: [fpc-devel] SymbianOS port

2007-01-25 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: On 1/25/07, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: C:\Programas\fpc21\rtl\symbian>make clean FPC=c:\Programas\fpc21\compiler\ppc386 .exe make: Nothing to be done for `clean'. ops, it should be: C:\Programas\fpc21\rtl\symbian>make FPC=c:\P

Re: [fpc-devel] SymbianOS port

2007-01-25 Thread Felipe Monteiro de Carvalho
On 1/25/07, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: C:\Programas\fpc21\rtl\symbian>make clean FPC=c:\Programas\fpc21\compiler\ppc386 .exe make: Nothing to be done for `clean'. ops, it should be: C:\Programas\fpc21\rtl\symbian>make FPC=c:\Programas\fpc21\compiler\ppc386.exe make:

Re: [fpc-devel] SymbianOS port

2007-01-25 Thread Florian Klaempfl
Vincent Snijders schrieb: > Felipe Monteiro de Carvalho schreef: >> Hi, >> >> I added an almost empty system.pp unit to fpc/rtl/symbian just to >> test, but the compiler isn´t yet search on this directory for the >> system unit. >> >> I am using this command to use FPC 2.0.4 to compile a cross-comp

Re: [fpc-devel] SymbianOS port

2007-01-25 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: Hi, I added an almost empty system.pp unit to fpc/rtl/symbian just to test, but the compiler isn´t yet search on this directory for the system unit. I am using this command to use FPC 2.0.4 to compile a cross-compiler: c:\Programas\fpc21> make clean all OS_

Re: [fpc-devel] SymbianOS port

2007-01-24 Thread Felipe Monteiro de Carvalho
Hi, I added an almost empty system.pp unit to fpc/rtl/symbian just to test, but the compiler isn´t yet search on this directory for the system unit. I am using this command to use FPC 2.0.4 to compile a cross-compiler: c:\Programas\fpc21> make clean all OS_TARGET=symbian OPT="-va" Compilation

Re: [fpc-devel] SymbianOS port

2007-01-18 Thread Florian Klaempfl
Thanks, Peter commited it. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] SymbianOS port

2007-01-18 Thread Felipe Monteiro de Carvalho
On 1/18/07, Florian Klaempfl <[EMAIL PROTECTED]> wrote: You can either send partial patches if they don't affect the rest of the compiler or you can get a separate branch to work on it. Ok, I prepared a very basic patch. It shouldn´t affect the rest of the compiler in any way. Where should fre

Re: [fpc-devel] SymbianOS port

2007-01-18 Thread Florian Klaempfl
Felipe Monteiro de Carvalho schrieb: What are the official guidelines for adding new platforms on fpc trunk? Should I wait until things are working or can I send partial patches? You can either send partial patches if they don't affect the rest of the compiler or you can get a separate branch

Re: [fpc-devel] SymbianOS port

2007-01-18 Thread Felipe Monteiro de Carvalho
What are the official guidelines for adding new platforms on fpc trunk? Should I wait until things are working or can I send partial patches? I ask because I am working with another person, and if some basic things are added to official repository (like regenerated makefiles with symbian target)

Re: [fpc-devel] SymbianOS port

2007-01-18 Thread Felipe Monteiro de Carvalho
I found the answer myself. It´s necessary to add a entry for symbian on rtl/Makefile.fpc and then rebuild the makefile on the directory -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/

Re: [fpc-devel] SymbianOS port

2007-01-18 Thread Felipe Monteiro de Carvalho
Ok, continuing, I tryed to compile fpc for symbian with: make clean all OS_TARGET=symbian using 2.0.4 as starting compiler. I edited fpc/compiler/systems.pas, fpc/compiler/compiler.pas, fpc/compiler/i386/cputarg.pas and added i_symbian.pas and t_symbian.pas And when I try to compile fpc for sy

Re: [fpc-devel] SymbianOS port

2007-01-18 Thread Felipe Monteiro de Carvalho
On 1/18/07, Florian Klaempfl <[EMAIL PROTECTED]> wrote: Use fpc211 to build fpcmake 2.1.1 Yes, that was it! It´s working now =) Althougth that´s a bit strange fpcmake didn´t work with 2.0.4. fpcmake should be a simple application -- Felipe Monteiro de Carvalho

Re: [fpc-devel] SymbianOS port

2007-01-18 Thread Florian Klaempfl
Felipe Monteiro de Carvalho schrieb: > > C:\Programas\fpc21>fpcmake > An unhandled exception occurred at $0040C63C : > EAccessViolation : > $0040C63C > $0044DF0D > $00454DD6 > $00410C46 > $00401F28 > > Any ideas? Use fpc211 to build fpcmake 2.1.1 ___

Re: [fpc-devel] SymbianOS port

2007-01-18 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: Hi, I can´t seam to get fpcmake to work. I did a svn update, and changed the following on fpcmmain.pp: next I build fpcmake with fpc 2.0.4 and tryed to run it, but it crashes, and "make" command doesn´t seam to have included debug info. C:\Programas\fp

Re: [fpc-devel] SymbianOS port

2007-01-18 Thread Felipe Monteiro de Carvalho
Hi, I can´t seam to get fpcmake to work. I did a svn update, and changed the following on fpcmmain.pp: Index: fpcmmain.pp === --- fpcmmain.pp (revision 6038) +++ fpcmmain.pp (working copy) @@ -70,7 +70,7 @@ o_linux,o_go32v2,

Re: [fpc-devel] SymbianOS port

2007-01-14 Thread Marco van de Voort
> fpcmake. So I look into makefile.fpc and I have no idea what to change > to add symbian target. > > What do I need to change to add symbian target to the makefiles?? fpcmake and fpcmake.ini. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org ht

Re: [fpc-devel] SymbianOS port

2007-01-14 Thread Felipe Monteiro de Carvalho
Hi, Sorry to revive such an old conversation, but this is a continuation of the old topic, and would be nice to keep things in one place. To recapitulate, I am trying to build a cross-compiler from i386-win32 to i386-symbian, which is the symbian simulator. The simulator runs executables on the

Re: [fpc-devel] SymbianOS port

2006-08-14 Thread Florian Klaempfl
Jonas Maebe wrote: On 13 aug 2006, at 21:46, Felipe Monteiro de Carvalho wrote: 1. Add symbian target to the compiler How exactly do I add symbian target to the compiler? I mean, which files should I start altering? compiler/system.pas, compiler/systems/i_symbian.pas, compiler/systems/t_s

Re: [fpc-devel] SymbianOS port

2006-08-13 Thread Jonas Maebe
On 13 aug 2006, at 21:46, Felipe Monteiro de Carvalho wrote: 1. Add symbian target to the compiler How exactly do I add symbian target to the compiler? I mean, which files should I start altering? compiler/system.pas, compiler/systems/i_symbian.pas, compiler/systems/ t_symbian.pas In sys

Re: [fpc-devel] SymbianOS port

2006-08-13 Thread Felipe Monteiro de Carvalho
On 8/12/06, Peter Vreman <[EMAIL PROTECTED]> wrote: 1. Add symbian target to the compiler How exactly do I add symbian target to the compiler? I mean, which files should I start altering? thanks, -- Felipe Monteiro de Carvalho ___ fpc-devel maillist

Re: [fpc-devel] SymbianOS port

2006-08-12 Thread Felipe Monteiro de Carvalho
On 8/12/06, Peter Vreman <[EMAIL PROTECTED]> wrote: User interface can be added in different units. The RTL only provides basic access and does not use it. That is then upto for example the LCL. They call it user interface, but according to my research it´s way beyond that. The most basic aspe

Re: [fpc-devel] SymbianOS port

2006-08-12 Thread Peter Vreman
At 15:17 12-8-2006, you wrote: Hello, I would like to start a SymbianOS port of the compiler. What are the guidelines for the very early stages of a port? I mean, should I wait until it´s reasonably working before inclusion on svn, or we could create a symbianos directory now, and add it´s tar

[fpc-devel] SymbianOS port

2006-08-12 Thread Felipe Monteiro de Carvalho
Hello, I would like to start a SymbianOS port of the compiler. What are the guidelines for the very early stages of a port? I mean, should I wait until it´s reasonably working before inclusion on svn, or we could create a symbianos directory now, and add it´s targets to the makefiles? I think t