Cross compile to macOS?

Just curious, is there a way to cross compile for Mac OS from Linux? I
downloaded win32 cross compiler stuff and it works great, it would be
cool if we could compile for any platform from linux. Does anyone know
if this is possible?
thanks for any and all responses!
Jaren Peterson

Just curious, is there a way to cross compile for Mac OS from Linux? I
downloaded win32 cross compiler stuff and it works great, it would be
cool if we could compile for any platform from linux. Does anyone know
if this is possible?
thanks for any and all responses!

Not that I know of. Any Mac gurus know any different?

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

In article <3ACEA7F9.68E833FE at nffs.com>, Jaren Peterson wrote:

Just curious, is there a way to cross compile for Mac OS from Linux? I
downloaded win32 cross compiler stuff and it works great, it would be
cool if we could compile for any platform from linux. Does anyone know
if this is possible?

I’ve never heard of any. The tricky parts include getting all of the MacOS
headers and libraries, and then generating a two-forked binary on a single
forked file system.

Matt–
/* Matt Slot * Bitwise Operator * http://www.ambrosiasw.com/~fprefect/ *

  • "Did I do something wrong today or has the world always been like this *
  • and I’ve been too wrapped up in myself to notice?" - Arthur Dent/H2G2 */

Just curious, is there a way to cross compile for Mac OS from Linux?
I
downloaded win32 cross compiler stuff and it works great, it would
be
cool if we could compile for any platform from linux. Does anyone
know
if this is possible?

Release your source code and let one of your users take care of the
Mac port for you. This is working for SDL, notice how many people
have posted a message saying “I’ve created binaries for ‘woozzle
wozzle’” since the announcement of updated SDL_Image, SDL_Mixer and
SMPEG?–

Olivier A. Dagenais - Software Architect and Developer

Jaren Peterson wrote:

Just curious, is there a way to cross compile for Mac OS from Linux? I
downloaded win32 cross compiler stuff and it works great, it would be
cool if we could compile for any platform from linux. Does anyone know
if this is possible?

No. A few years back, when Cygnus was being paid to do Mac (MPW)
tools, I started on a “cygmac” project similar in concept to cygwin,
with the goal of supporting cross-compilation. But the Mac business
dried up, and we abandoned the project. I still have a mostly-working
portable Rez compiler, but that’s about it.

For OS X, cross-compilation is much more plausible. I’m in the
process of getting OS X support in FSF GCC, which leaves Apple’s
"cctools", which provides assembler and linker. The sources are
available (as part of Darwin) and somewhat portable, but I don’t
know of anyone who’s tried to get them running on Linux.

Stan