Bug 2966 - IRIX port not building
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Platform
Version: 1.33 SVN
Hardware: SGI IRIX
: P2 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2006-12-18 11:19 EST by Dave Sloan
Modified: 2009-09-14 18:56:41 EDT
1 user (show)

See Also:


Attachments
Patch file for IRIX systems (5.09 KB, patch)
2006-12-18 11:21 EST, Dave Sloan
Updated Irix diff (5.38 KB, patch)
2007-08-23 05:35 EDT, Dave Sloan

Description Dave Sloan 2006-12-18 11:19:27 EST
The current makefile has broken settings for building on an SGI IRIX platform and there was no entry for __sgi in the q_platform.h.
Comment 1 Dave Sloan 2006-12-18 11:21:02 EST
Created attachment 1201 [details]
Patch file for IRIX systems

Working build, only outstanding issue so far is that botlib causes a crash when a bot spawns. (I'll look at this next)
Comment 2 Ryan C. Gordon 2007-05-21 11:22:25 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.

Comment 3 Tim Angus 2007-08-22 18:14:44 EDT
This patch is unlikely to apply cleanly anymore. Suggest closing unless further work is done.
Comment 4 Dave Sloan 2007-08-23 05:35:15 EDT
Created attachment 1484 [details]
Updated Irix diff

Pretty much no code change, just re-aligning the diff (if that is the correct term). The MIPSPro compiler doesn't have a #warning define so on the SDL check I've had to add a #ifndef for that warning.

Botlib still kills it on IRIX, but I don't have the skills/knowledge to fix it. I hear its an issue on PPC too so maybe if when that gets tackled I can try that on MIPS and see if that helps too.

Cheers for keeping IOQ3 going, good work! =]
Comment 5 Tim Angus 2007-08-23 10:27:04 EDT
Is there any scope for using GCC instead of MIPSPro?
Comment 6 Dave Sloan 2007-08-24 04:13:57 EDT
(In reply to comment #5)
It should compile fine on GCC but there have been numerous tests on nekochan.net over the years that show time after time that GCC just can't offer the same level of optimization as MIPSPro for IRIX. Especially when it comes to floating point stuff. And when we are dealing with 'slow old' MIPS cpus we need every ounce of optimization we can get.

Plus I believe there are issues with using some GCC compiled libraries with MIPSPro compiled binaries and pretty much every SGI hobbyist that would be interested in running Quake 3 on their SGI would be running the Nekoware software packages (which are all MIPSPro built as a requirement).

I am currently talking with some of the packagers and we should be able to get a binary package of ioquake3 setup soon.
Comment 7 Ryan C. Gordon 2009-09-14 18:56:41 EDT
It looks like this patch made it into Subversion at some point, so I'm resolving the bug.

--ryan.