[fpc-devel] the libc unit on 64-bit systems

Daniël Mantione daniel.mantione at freepascal.org
Thu Jan 31 22:13:26 CET 2008



Op Thu, 31 Jan 2008, schreef Graeme Geldenhuys:

> Hi,
>
> I know the 'libc' unit is for linux-x86 only.  Does that also exclude
> 64-bit Linux?

Correct. 64-bit safeness is one thing the Kylix libc unit was not designed 
for.

> If so, how can I IFDEF code that needs to run on Linux (32 & 64 bit)

{$if defined(linux) and defined(i386)}

Daniël


More information about the fpc-devel mailing list