On Sat, 04 Mar 2006 12:42:31 -0300
Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> Today or on the next days I will be sending patches to implement basic 
> structures for the Windows CE LCL Interface.
> 
> At the moment TApplication and TCustomForm have basics implemented. A 
> screenshot of the first lazarus - wince gui software is here: 
> http://wiki.lazarus.freepascal.org/index.php/Windows_CE_Interface
> 
> Now onto the problem. How can we add support for Windows CE on the IDE?
> 
> It behaves differently then other widgetsets on some aspects:
> 
> - The compiler it uses has a diferent name, it´s called ppcrossarm.exe 
> and must be from 2.1.x branch. Do we need a extra field to put the path 
> to the cross compiler?

Can we use 'fpc' with some option?

 
> - You can compile Windows CE softwares for various different 
> architectures. I see currently no place to set the target architecture.
> 
> On Tools -> Configure Build Lazarus there is a option to set the OS, 
> perhaps we need to add a option to choose the architecture?

Yes.

 
> Here is the batch script I use to compile LCL for Windows CE:
> 
> PATH=C:\Programas\lazarus13\pp\bin\i386-win32;c:\Programas\arm
> make lcl LCL_PLATFORM=wince PP=ppcrossarm.exe CPU_TARGET=arm
> OS_TARGET=wince
> 
> And the script I use to compile software:
> 
> PATH=C:\Programas\lazarus13\pp\bin\i386-win32;c:\Programas\arm
> ppcrossarm.exe -Twince -FuC:\Programas\fpc21\rtl\units\arm-wince 
> -FDC:\Programas\arm -XParm-wince- test.pas
> ppcrossarm.exe -Twince -FuC:\programas\lazarus\lcl\units\arm-wince 
> -FuC:\programas\lazarus\lcl\units\arm-wince\wince 
> -FuC:\Programas\fpc21\rtl\units\arm-wince -FDC:\Programas\arm 
> -XParm-wince- windowtest.pas
> 
> The goal is to be able to recompile LCL with the cross compiler without 
> messing win32 lcl, and also compile software for wince using the IDE.

Yes.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to