Forum > FPC development

Cross compiling from Windows/Linux to OSX


I was reading about cross compiling with FPC, this link:

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?

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.

I searched a bit more and found this:

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


[0] Message Index

Go to full version