[fpc-pascal] libc and math.h on Linux

Adriaan van Os fpc at microbizz.nl
Fri Feb 2 15:44:38 CET 2018


Marco van de Voort wrote:
> Long double is probably 10-byte extended, but verify that by compiling and
> running a small C program for your distro.

I assume that the FPC clongdouble type has the right size ? I checked on OS X (x86) where FPC 
longdouble is 10-byte, FPC clongdouble is 16-byte and GCC long double is 16 byte too. So, as long 
as I use clongdouble for the external declarations, there should be no problem (I hope).

Thanks for the reply regarding the other issues.

Regards,

Adriaan van Os



More information about the fpc-pascal mailing list