Am 18.10.2020 um 08:56 schrieb J. Gareth Moreton via fpc-devel:
Hi everyone,

I've started to look at developing FPC on the Raspberry Pi again, but I've run into a snag.

The unmodified trunk does not build - it fails when building system.pp at the ppc1 stage:

math.inc(57,7) Error: Assembler syntax error
math.inc(58,11) Error: Unrecognized opcode round
flt_core.inc(459,47) Error: Can't evaluate constant expression
flt_core.inc(461,10) Fatal: Syntax error, ")" expected but "," found

How do you build for Aarch64 (your command line)? I assume your host is arm-linux?

I remember noticing that AArch64 does not yet support inline assembly, which is what math.inc contains at the lines indicated (although "round" is inside a constant, so... what gives?!).  Not sure how to get around the issue with flt_core.inc just yet.

Of course it supports inline assembly. Where did you get that nonsense?

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to