Technical support > Mac

Need PPC help

(1/4) > >>

courier:
Well, I've beat my head against doing the PPC build from my Intel mac, and I can't work out how to do it.  So I need someone with a PPC mac to take a try.  (As I mentioned earlier, but not here, there is a 2.2.1 build for Intel macs at http://ecglaf.naegling.net/~ggould/ufoai-2.2.1-macosx-i386.dmg -- although I do hope someone will mirror that rather than everyone hitting my home machine...)

What you will need:  A PPC mac with XCode (the developer toolkit) and fink (the unix-style package manager) installed.

What you will need to do:  Follow the instructions at http://ufoai.ninex.info/wiki/index.php/Compile_for_Mac , except that for the URL in the svn command, use https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/ufoai_2.2/ (to get the 2.2.1 code rather than the latest unstable stuff).

I'm sorry that it's taking so long to get mac builds out to the community -- I'm new to this project and I'm learning as I go.

Mattn:
btw. i've mirrored this file at: http://szklo.eu.org/~mattn/ufoai-2.2.1-macosx-i386.dmg

tchristney:
Sorry, I've been super busy, i.e. too busy to play games... I'm just getting the svn version from tags/ufoai_2.2.1 and should have everything compiled tonight. I'm guessing that the snapshot in tags is the same code as released on Win and Linux. Mattn, do you have a map pk3 so I don't have to compile them, or just pull down the one from the linux version?

courier, you really should follow the wiki information and use MacPorts. It seems to work much better than Fink for this. Especially if you want to compile universal binaries! I was a fink user since 10.0 and basically gave up on it when I tried to make a universal binary for UFO:AI.

Mattn, would it be possible to get you to modify configure to recognize a Mac specific option that can be used to set the appropriate compiler/linker flags to make universal binaries on Mac? I know exactly what flags need to be set and where but am completely a newbie when it comes to the arcane incantations required for configure to work.

Doctor J:
UB disk images are very shiny, but [in my not so humble opinion] should be avoided for packages that are already large enough to be a problem for people with poor connections - that means us.  Also, users with full hard drives are going to end up using lipo or some other utility to remove all that extra fat they don't need.  Why not just release separate Intel/PPC versions - it's not that hard.

As to the MacPorts/fink competition, they each have their pros and cons.  Use MacPorts if you insist on making UB packages, as fink absolutely won't do that.  Otherwise, either will do the job.

ponkan:
I suppose that depends on how easily an Intel Mac can be told to compile for PPC only -- I don't know if universal libraries can be used, or if a whole cross-compilation environment needs to be set up. Or if the utilities you mentioned are friendly to open source programs (i.e. nothing in the EULA that says resultant binary is for personal use only, can't be distributed yada yada). I would volunteer if I had a PPC machine, but unfortunately I don't.

Navigation

[0] Message Index

[#] Next page

Go to full version