of clang and gcc

Ryan Schmidt ryandesign at macports.org
Fri Mar 21 16:39:25 PDT 2014


On Mar 21, 2014, at 14:01, René J.V. Bertin <rjvbertin at gmail.com> wrote:

> One nice thing about clang that I just discovered: with `-target x86_64-pc-linux-gnu` it will generate ELF object files ... which makes it quite easy to enlist an OS X host in a network of distcc servers when compiling on (from) my lowly netbook linux box. Or to enlist a bunch of linux hosts to compile for OS X.

I have no experience using Mac OS X to compile Linux executables. I don’t know if that would work. I would be extremely surprised if you could compile Mac OS X executables on Linux since you need not only the clang compiler but also all the Mac OS X libraries and frameworks, some of which are proprietary and would not be available on Linux.




More information about the macports-users mailing list