[fpc-pascal] FPC_ARMEL system calls

Luca Olivetti luca at ventoso.org
Sun Jun 1 16:17:14 CEST 2008


En/na Florian Klaempfl ha escrit:

>>
>> grepping for abi_eabi I found that the different syscall convention is 
>> in rtl/linux/arm/syscall.inc, but it is conditioned to FPC_ABI_EABI, 
>> not to FPC_ARMEL, so in order to have a fully eabi compliant compiler 
>> should I use "-dFPC_ARMEL -dFPC_ABI_EABI"?
> 
> The changed abi field in the system info record causes FPC_ABI_EABI 
> being defined. Same for softfloat. -dFPC_ARMEL should be enough and 
> triggering everything else.

I forced -dFPC_ABI_EABI and the generated ppc1 gives an "qemu: uncaught 
target signal 6" (under scratchbox/qemu) or segfaults under real hardware.

Bye
-- 
Luca




More information about the fpc-pascal mailing list