[fpc-devel] FPC for Linux-ARM

Marco van de Voort marcov at stack.nl
Sun Dec 5 12:33:40 CET 2010


In our previous episode, Mark Morgan Lloyd said:
> >> I had to go briefly onto 2.5.1 for ARM and found
> >> that it refused to compile Lazarus- if I recall correctly there was a
> >> conditional in the source where anything that wasn't 2.4 was assumed to be
> >> 2.2 or older.
> > 
> > You should try again, the latest Lazarus source code should compile
> > with fpc 2.5.1
> 
> I will, but since I'm running natively on a system with very limited 
> memory running a complete build takes a week.
> 
> Lazbuild using 2.4.2 on armel generates working programs.

Yesterday I've made a crosscompiling 2.5.1 snapshot that is able to
crosscompile binaries with shared libs support to Sheeva (eabi=4) from
Windows.

I suppose it would work with any armel -Cfsoft -Cparmv5 device. I have not
enabled thumb, but I seem to have it (see cpuinfo below)

Unfortunately, my sheeva doesn't have X (yet); it's root is on flash.

I also uploaded armel cross-binutils windows->arm-linux. (see msg yesterday)

Processor       : ARM926EJ-S rev 1 (v5l)
BogoMIPS        : 1192.75
Features        : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant     : 0x2
CPU part        : 0x131
CPU revision    : 1
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format C
Cache format    : Harvard
I size          : 16384
I assoc         : 4
I line length   : 32
I sets          : 128
D size          : 16384
D assoc         : 4
D line length   : 32
D sets          : 128

Hardware        : Feroceon-KW
Revision        : 0000
Serial          : 0000000000000000
marcov at xfighter:~$



More information about the fpc-devel mailing list