[fpc-devel] WinCE port

Florian Klaempfl F.Klaempfl at gmx.de
Mon Jun 27 18:19:56 CEST 2005

Yury Sidorov wrote:

> From: "Florian Klaempfl" <florian at freepascal.org>
>>>1. What is simplest way to add wince target to makefiles? The only way I 
>>>is to edit all makefile.fpc files and add wince to them.
>>What do you mean with all? Only the top level make files should really 
>>extra effort. For the other Makefiles it's enough with a fpcmake of 2.1.1 
>>branch to regenerate them.
> I do not know much about fpcmake, but as I see there is makefile.fpc file in 
> each directory. fpcmake creates makefile files based on makefile.fpc files.
> Which makefile.fpc files should be changed to add new target os?

I think do get basic things rolling you don't need to change one but 
create a new one in rtl/wince

>>>2. I need fakertl stuff to start.
>>Well, I'am not sure how close wince to win32 is. Maybe you can start with 
>>win32 system unit?
> Yes, I hope actual system unit for WinCE will be based in win32 system unit. 
> But first of all I need fpc to create working WinCE executables, so I need 
> fake (empty) rtl to test it.

Which tool chain do you plan to use? Using the fakertl is more hazzle 
than starting with a real system unit :)

More information about the fpc-devel mailing list