[fpc-pascal]Cross compiling Linux -> Windows - how?

Jonas Maebe jonas at zeus.rug.ac.be
Thu Aug 1 20:50:50 CEST 2002


On Thu, 25 Jul 2002, Rainer Hantsch wrote:

> Because I use 100% Linux, I would either have to install windoze
> somewhere, or, if possible, do the whole thing on FPC for Linux and do
> a compilation for a windoze-exe.
>
> - Is this possible at all?

Yes.

> - What must I install in addition to my FPC 1.0.4 for Linux on my Linux
>   machine to have the possibility for cross-compilation?

You have to download the gnu binutils and configure/compile them for
cross-compilation from linux to win32. Then you can tell, when compiling,
the compiler using the -FD option in which directoey these utilities can
be found.


Jonas





More information about the fpc-pascal mailing list