

It can create binaries for many platforms. Free Pascal itself does not need much setup. Therefore these binaries are platform specific. Moreover, the binaries refer to the APIs provided by the particular operating system, that's why a different implementation of our Run-Time Library is necessary for different operating systems. These binaries also contain information on how the operating system starts the executables. In this case, the platform used for compilation is usually referred to as "host" (Linux in the example above) and the platform where you want to run your created binaries is your "target".įree Pascal is a compiler and basically converts source into binaries (machine language). working under Linux and creating Win32 executables (or those for FreeBSD or Darwin, etc.). The following sections describe how to setup a system to cross compile, that means creating binaries (executables) for a platform different from the one used for compilation - e.g.

This is a short introduction for newbies. Note: Before going any further, consider Why not to cross compile? below 18.5 Errors like compiler "/usr/bin/fpc" does not support target arm-linux.18.4 I want more information on building Free Pascal.18.3 Why cross compile from Unix to Windows and not the other way around?.16.2 Cross compiling the LCL in Lazarus 0.9.30 and below.10.7 Lazarus guide to cross-compile Win 32/64-bit.
