[fpc-pascal] Crosscompile FPC from Win32 to Linux

Henry Vermaak henry.vermaak at gmail.com
Sat Jun 5 15:00:36 CEST 2010


On 5 June 2010 00:47, Henry Vermaak <henry.vermaak at gmail.com> wrote:
>
> It may be better building the whole compiler for the latest version of
> cygwin, but I'll see if I can scrape together the necessary files you
> can drop into your fpc bin directory for this to work (not that many).
>  I managed to get a simple writeln app to cross compile and run on
> linux.

Luckily, someone else has built mingw cross tools here:

ftp://ftp.freepascal.org/pub/fpc/contrib/cross/mingw/

You can download binutils-2.15-win32-i386-linux.zip and extract it
into your fpc bin directory.  After that it's just a matter of
recompiling your rtl and packages (if needed).  Let me know if you
need help with doing this.

Henry



More information about the fpc-pascal mailing list