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

Marco van de Voort marcov at stack.nl
Wed May 28 22:57:42 CEST 2008


On Sun, May 25, 2008 at 01:13:36PM +0200, Mattias Gaertner 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 ?
> > > 
> > > See FPC mailing list: check pointer/integer type casts, use PtrInt
> > > and PtrUInt instead and avoid assembler.
> > 
> > Also avoid legacy units like "oldlinux" and "libc" that are not
> > supported outside of linux/i386
> 
> Is there already a 32/64bit page/faq in the wiki?

Not that I know. But I haven't searched. 

IMHO unit libc should get some deprecated warnings in 2.3.x to avoid
accidental use. 



More information about the Lazarus mailing list