[Lazarus] Cross-compile for Linux strange behaviour with floating point constants

Florian Klämpfl florian at freepascal.org
Sun Nov 24 11:48:08 CET 2019


Am 24.11.19 um 11:45 schrieb Giuliano Colla via lazarus:
> Il 24/11/2019 01:17, Sven Barth via lazarus ha scritto:
> 
>> There is the plan to add software floating point support for Extended 
>> to the compiler for platforms like Win64, but it's not a trivial 
>> endeavour.
> 
> Maybe a silly question, but wouldn't it much simpler to have the 
> compiler not use the Extended type on platforms which do not support it?

Yes. This is what we do. However, it bites us when cross compiling. What 
to do with extended constants and their handling in the compiler if the 
target platform has it but the target platform does not support it?



More information about the lazarus mailing list