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

Torsten Bonde Christiansen tc at epidata.dk
Mon Nov 9 12:54:01 CET 2009


Graeme Geldenhuys wrote:
> Hi,
>
> What can the 32bit FPC compiler (currently I run under Linux)
> cross-compile to 32bit Windows or 64bit Linux.  But the 64bit FPC
> (Linux) can only cross-compile to other 64bit platforms. Why not 32bit
> platforms too?
>   
It can, i've successfully managed to cross-compile to 32-bit linux and 
32-bit windows on the same 64-bit linux machine. (that includes the FPC 
itself and Lazarus)

There is a guide on the wiki here:
http://wiki.freepascal.org/Cross_compiling

Kind regards,
Torsten Bonde Christiansen.



More information about the fpc-pascal mailing list