[fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin
Daniël Mantione
daniel.mantione at freepascal.org
Mon Jul 16 11:39:30 CEST 2007
Op Mon, 16 Jul 2007, schreef Adriaan van Os:
> Has anyone tried to build a Free Pascal Windows crosscompiler on an Intel Mac
> ? Is this supported ?
Yes, you don't need a cross-compiler to cross-compile to different
operating systems. With FPC 2.1.4+ you don't need binutils either to
cross-compile to Win32.
Simply make the rtl:
cd /path/to/fpc/rtl/win32
make
Then simply compile your program:
fpc -Fu/path/to/fpc/rtl/units/i386-win32 -Twin32 myprogram.pas
Happy crosscompiling!
Daniël
More information about the fpc-pascal
mailing list