[fpc-devel] Another thread about the fact that official FPC releases are *unnecessarily* non-representative of the platforms it actually runs on

Florian Klämpfl florian at freepascal.org
Sun Sep 27 18:28:30 CEST 2020

Am 27.09.20 um 18:21 schrieb Florian Klämpfl via fpc-devel:
> The thing is: we would distribute a compiler (the x86_64-win64 one) 
> which claims to be able to compile to e.g. to x86_64-linux, but it would 
> generate programs which might behave differently than natively compiled 
> ones as float constants are handled internally different.

So we would need softfloat extended support. This is doable with one 
major obstacle: the "irrational" functions like ld, sin etc.: they need 
precise enough implementations for 80 bit (actually, just adding and 
using in the compiler 128 bit softfloat support would be even better). 
And this is probably something which is really hard. While I believe ;) 
I can solve most coding challenges, this is something I fear to touch :)

More information about the fpc-devel mailing list