Forum > FPC development

Cross compiling from Windows/Linux to OSX

(1/1)

Daniello:
I was reading about cross compiling with FPC, this link:
wiki.lazarus.freepascal.org/Cross_compiling

While I have a Mac Mini and Macbook,  I would like to have a cross compiler ready when I just want to make builds for all the main OS, just by executing a single script.

Why is there nothing in the wiki about crosscompiling with OSX as the target (not the host)?
Are there technical limitations that prevent it?
Or just legal implications?

kamischi:
Oops. I misread your post and thought about cross compiling on Mac OS X. The problem ist to get binutils (in particular assembler and linker) for OS X.

Daniello:
I searched a bit more and found this:
http://wiki.lazarus.freepascal.org/Cross_compiling_OSX_on_Linux

It seems to be possible to compile the bin utils for Linux (and possibly Windows, but probably more difficult).

Navigation

[0] Message Index

Go to full version