[fpc-pascal] darwin -> linux

Jonas Maebe jonas at zeus.ugent.be
Wed May 25 17:11:27 CEST 2005


On 25 mei 2005, at 16:54, Artur Kornilowicz wrote:

> I work on PPC with Darwin.
> I am trying to build binaries for Linux.
> Calling
>
> fpc -Tlinux a.pas

The Mac OS X version does not include Linux units by default, so you 
have to compile and install the compiled Linux RTL. For this, and also 
to generate programs afterwards, you need a Darwin-to-Linux 
cross-assembler and cross-linker (the Darwin assembler and linker 
cannot generate Linux/ELF object files). You will probably have to 
compile these yourself, at least a quick google search did not turn up 
anything.


Jonas





More information about the fpc-pascal mailing list