[Scummvm-devel] Compilation on IRIX?

Joost Peters joostp at 7fc1.org
Thu Apr 22 16:03:19 CEST 2010


Hi Ori,

> I was looking at the configure script (before and after my recent 
> changes) and I noticed this possible bug.
> 
> http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/tags/release-1-1-0/configure?view=markup
> 
> In line 1117, there's a special test for IRIX in case no gcc compiler is 
> found, and then it checks of the compiler version starts with "7.7.4", 
> which is acceptable for some reason.

MIPSpro 7.4.4 is the last / least-buggy version of the MIPSpro compiler, 
and the only one able to compile ScummVM without workarounds, thus it's 
the only 'supported' version of MIPSpro.

GCC is generally available too, but (at least in the past) isn't able to 
optimize as well, which makes compilation with MIPSpro a must for the 
older, slower machines.

> However, since cxx_verc_fail has been previously set to "yes", and in 
> the 7.7.4 case it's not being re-set to "no", configure should fail later.

No, cxx_verc_fail is never set to "yes" (or anything else), as 
cxx_version contains "7.4.4".
Thus configure doesn't fail, since the check further down only checks if 
cxx_verc_fail is set to "yes".

> Should the host_os test be removed?

No, the test should remain. You can, however, safely add a 
'cxx_verc_fail=no' to the irix host_os case if it helps clarity.


Regards,
Joost




More information about the Scummvm-devel mailing list