[fpc-devel] Building compiler, rtl, host, target... (cross compiling)

Michael Schnell mschnell at lumino.de
Thu Apr 7 10:47:13 CEST 2011


On 04/07/2011 03:06 AM, Skybuck Flying wrote:
>
> Missing from this list is ofcourse:
>
> debuggers/cross debuggers which would still be needed for serious 
> platform development but that is beyond the scope of this posting ;)
> And unfortunately me very little to almost no experience with writing 
> debuggers myself... perhaps a nice thing for me to explore in the 
> future ;)
Do you have a gdb for the new arch ? Same should be usable to debug FPC 
generated programs.

AFAIK, someone has started a project doing a debugger in Pascal code, 
but I have no idea if this already works.

Also one the native  compiler (and command-line debugger) works, it 
should be possible to compile Lazarus for that arch. But why does it 
make  sense to do the  native development tools after all ? IMHO, 
usually, less effort and more desirable is to do a decent 
cross-compiling SDK: cross compiler, remote cross-debugger (needs only a 
"stub" on the target) and running Lazarus on a Windows or Linux PC.

BTW, regarding the RTL: what OS-API does the arch provide ? some "open 
standard" like Linux Mono or Java, something more cryptic like the 
Windows or .NET API ore even something completely propriety ?

-Michael



More information about the fpc-devel mailing list