[fpc-pascal] Why can't 64bit FPC cross-compile 32bit

Vincent Snijders vsnijders at vodafonevast.nl
Mon Nov 9 12:53:39 CET 2009


Graeme Geldenhuys schreef:
> Hi,
> 
> What can the 32bit FPC compiler (currently I run under Linux)
> cross-compile to 32bit Windows or 64bit Linux.  

Do you mean that ppcx64 can generate code for win32? I don't think that is true.


> But the 64bit FPC
> (Linux) can only cross-compile to other 64bit platforms. Why not 32bit
> platforms too?

A ppcXXX compiler can generate code for one specific CPU. The ppcx64 is for amd64 
and ppc386 is for 32 bits intel (80386 - Pentium - and compatibles).

Vincent



More information about the fpc-pascal mailing list