[fpc-devel] Building and running FPC natively on ARM under Debian "Lenny"

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Mon Aug 23 10:54:40 CEST 2010

Jonas Maebe wrote:
> On 20 Aug 2010, at 22:38, Mark Morgan Lloyd wrote:
>> What should I be doing here- using both -Cf and -d?
> Yes, that should solve the problem. For the resulting EABI compiler, -Cfsoft will be the default.

I can confirm that I can build FPC 2.4.0 to run under Debian "Lenny" on 
an ARM-based system (Cisco/Linksys NSLU2 "Slug") using

make 'NOGDB=1' 'OPT=-dFPC_ARMEL -CfSOFT' all

This appears to be OK to the extent that it can compile Lazarus, although my initial attempt ("make all") bombed but for some 
reason "make 'OPT=-vt' all" was OK.

If starting with a binary of 2.2.2 it's necessary first to generate 
2.4.0 using 'OPT=-CfSOFT'. Obviously the amount of memory limits 
compilation and in particular linkage speed. I've not tried later 
versions yet.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-devel mailing list