The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 12, 2024, 05:37:42 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
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Mac, Win, Linux question...
« previous next »
Pages: [1] Print
Author Topic: Mac, Win, Linux question...  (Read 1963 times)
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Mac, Win, Linux question...
« on: August 11, 2006, 04:19:14 am »

Is it possible to compile the Mac ver. on Windows or vice versa?

If not (which i believe to be the answer) what's a good IDE for the iMac?

At least i could compile versions for MAC OSx, since UQM seems to work on iMac I'm guessing it can be compiled on it too.

Thanks for any further help.
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: Mac, Win, Linux question...
« Reply #1 on: August 11, 2006, 04:36:21 am »

Compilation on one platform for another is called "cross-compilation", and it is far from trivial. You need a cross-compiler (a compiler which generates code for another platform), and libraries for the target platform, and you need to set it up so that the right libraries are used.
But it is possible, and the file build/unix/README.crossbuild describes how to use the unix build scripts in cross-compilation. It does not give detailed instructions about cross-compilation in general; you'd have to search the web for info on that.

I don't know much about Mac IDEs, but you can use the unix build scripts to build from the command line, just as you would on Linux or MinGW. Note that there are only project files for MSVC, so if you're going for a Mac IDE, you'd have to make a project file for it yourself.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: Mac, Win, Linux question...
« Reply #2 on: August 11, 2006, 04:43:02 am »

maybe Nic could help me in this area, right now i'm just considering my possibilities.

I don't think i'm gonna even try for cross compilation, sounds a little outta my league right now.

thanks for the info meep-epp
Logged

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

Get your MegaMod HERE
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: Mac, Win, Linux question...
« Reply #3 on: August 11, 2006, 04:56:56 am »

Oh, and what is the filenames for saved games on Mac OS?

and where exactly are they, i'm new at the mac so i don't know crap about how it's file system works.
Logged

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

Get your MegaMod HERE
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Mac, Win, Linux question...
« Reply #4 on: August 11, 2006, 11:49:46 am »

Oh, and what is the filenames for saved games on Mac OS?

and where exactly are they, i'm new at the mac so i don't know crap about how it's file system works.
Save games are in ~/.uqm/save just like any other Unix. I have no idea what that expands to on a Mac, but the standard Unix shells (e.g. bash) should expand that the same way as UQM does. If you really need the full expanded path (e.g. for Finder use), try typing the following into bash:

Code:
echo ~/.uqm/save

The save games are named starcon2.<nn> as usual, where 00<=nn<49.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
JHGuitarFreak
Enlightened
*****
Offline Offline

Posts: 1374



View Profile WWW
Re: Mac, Win, Linux question...
« Reply #5 on: August 11, 2006, 08:32:33 pm »

Thanks Novus...

I just found out i can type ~/.uqm/save in the safari browser (just as you could type C:\program files in IE) and it goes right where i need to go.

Logged

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

Get your MegaMod HERE
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!