[fpc-devel] Portability Standards

Tomas Hajny XHajT03 at mbox.vol.cz
Tue Jan 4 13:10:18 CET 2005


On Tue, 04 Jan 2005 02:14:33 +0100, DrDiettrich wrote
 .
 .
> I only don't know how to implement or check the other branches - is the
> Windows version of FPC equipped for crosscompilation?

The compiler itself can compile for all platforms listed in help pages (those running on the same CPU). However, you need GNU tools (as & ld at least) for every target - some of them are pre-built for you and can be downloaded from ftp://ftp.freepascal.org/pub/fpc/contrib/cross/. Alternatively, you can compile with "-s" parameter, which gives you the generated assembler code for your source files and scripts necessary to assemble&link somewhere where the right tools are available (like the target platform itself).

Tomas





More information about the fpc-devel mailing list