[fpc-pascal] Cross-compile on Linux from 32bits to 64bits

Jonas Maebe jonas.maebe at elis.ugent.be
Sat May 24 17:27:38 CEST 2008


On 24 May 2008, at 17:15, TOUZEAU DAVID wrote:

> I'm using a 32 bits Linux system to developp and i want my program  
> to be 64 Bits compatible.
> What is the best method to allow my program to be compatible on 32  
> And 64 bits ?

Do not type cast between integer and pointer types (and if you have  
to, always use the ptrint and ptruint types). Do not use assembler.


Jonas



More information about the fpc-pascal mailing list