[fpc-devel] freepascal support for debian armhf
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Sep 6 09:10:04 CEST 2011
On 06 Sep 2011, at 03:05, peter green wrote:
> Afaict from quick tests freepascal does support vfp but based on my tests always uses the "soft" calling convention. So it won't link correctly with C code that uses floating point parameters on debian armhf.
>
> 1: can someone who knows the fpc arm code confirm the above statement?
FPC indeed only supports the soft and softfp conventions.
> 2: does anyone have any idea what it would take to add support for the eabi vfp calling convention and for building fpc binaries that use it by default (just as armel FPC binaries use eabi by default)
Someone has to implement support for that calling convention in compiler/arm/cpupara.pas. Maybe some assembler code in the RTL also has to be modified.
> 3: does anyone have any plans to actually do so
Not me.
Jonas
More information about the fpc-devel
mailing list