Okay, I remember hearing this was/is theoretically possible. For some reason I just got a…
Show quoted text 12 lines
- Install (or compile) cross win32-binutils (so binutils which work under Linux, but prepare binaries for win32)
- Install a matching RTL and libraries with the compiler in /usr/local/lib/fpc/<version>/units/win32/ and below
Then, when compiling for win32 make sure that
-FD/path/to/win32/bin/utils
-Fu/usr/local/lib/fpc/<version>/units/win32/*
-Twin32
in your ppc386.cfg/fpc.cfg/.ppc386.cfg/.fpc.cfg whatever you use.
(this means that you will have to swap .cfg files to compile between win32 and linux, e.g. with symlinks)
