[fpc-devel] Portability Standards
Marco van de Voort
marcov at stack.nl
Tue Jan 4 13:33:09 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).
crosscompilation from windows to unix using libraries is also not that easy.
More information about the fpc-devel