Author Topic: a question for the mac devs  (Read 1116 times)

steuben

  • Veteran
  • *
  • Posts: 1834
    • View Profile
    • Myspace
a question for the mac devs
« on: March 03, 2006, 08:20:03 pm »
i know next to nothing about programming for macs. my zeroth approximation for getting ps runnig on a mac would be compile it from the cvs. but there are differences between the wintel and lintel architecutre and the mac. so my first approximation is that there will have to be some tweaking of the code.

so basically my question is; in broad strokes what does it take to get the code working on a mac?

may laanx frighten the shadow from my path.
hardly because the shadow built the lexx.
the shadow will frighten laanx from my path.

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #1 on: March 03, 2006, 09:12:53 pm »
It depends on whether it\'s a \"good day\" or a \"bad day\".  On a good day, it\'s like this (for each of CS, PS and CEL):

cvs -z3 update -dPA
jam clean
./configure --enable-optimize
jam

On a bad day, things just \"don\'t work\" - for instance, the CS mac sound driver is broken, so now I need to learn the Apple sound API and tweak it until it works.

It\'s fairly similar to building PS on Linux - actually, a little easier because it\'s a bit more standardized regarding GL drivers and things like that.  Only sources of problems are mac-specific driver code, sloppiness with file system accesses from within PS, Endianness issues (rare!) and problems with different tool versions (e.g. jam 2.4 vs. jam 2.6, autoconf etc.)
Quidquid latine dictum sit, altum sonatur.

Gripen

  • Hydlaa Resident
  • *
  • Posts: 163
    • View Profile
learn mac compiling
« Reply #2 on: March 05, 2006, 05:39:47 am »
Is there a place to learn this info more completely or exactly.
I think I want revenge.

By the way--which lib file was being used for the previous available ps version?


*****Is there a way to find out what files psclient previously used in order to change the code in the client to work again on 10.2?
*****Or, is there a way to reconfigure the new psclient using 10.2 so that it will run on 10.2 again?
« Last Edit: March 06, 2006, 01:43:09 am by Gripen »

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #3 on: March 06, 2006, 01:31:45 pm »
Probably. Dfryer is working on that very issue, I believe. Hopefully he\'ll be able to resolve everything soon. :)
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!