The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 06, 2024, 05:30:10 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Starbase Café (Moderator: Death 999)
| | |-+  Cross-compiling: Win->Mac
« previous next »
Pages: [1] Print
Author Topic: Cross-compiling: Win->Mac  (Read 2080 times)
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Cross-compiling: Win->Mac
« on: December 22, 2007, 11:46:08 pm »

What would be needed to make a cross-compiler from Windows to Mac OSX?

Or is it even possible?
Logged

The artist once again known as Kohr-Ah Death 213.

Get your MegaMod HERE
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Cross-compiling: Win->Mac
« Reply #1 on: December 23, 2007, 01:27:02 am »

You can set up gcc as a cross-compiler. You merely have to build it with the correct platform specified  to "--target".
But gcc is not enough. You need binutils, system headers of the target system, and you have to build all of the libraries you need for your target system.
It's a lot of work, and it can be tricky the first time. But the basic idea is the same for all platforms, so you should be able to find some resources online to help you through it, even if you can't find anything written specifically for MacOS X.
I'm not going to write you a walkthrough, but I'll try to answer specific questions if you have any.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!