Geant4 fails to compile on SGI/IRIX systems using CC and native (SGI) version of STL. The first problem occurrs when compiling global/management/G4Exception.cc The problem appears to be related to the STL <string> include and the associated <cstring> include (which is not part of standard SGI STL, but is available in Linux/g++).
Issue: porting of Geant4 on SGI/Irix platforms. We're currently evaluating the issue if to provide support for SGI-CC. Geant4.0.1 has not been ported on SGI platforms (see release notes).
We currently do not support SGI (we do not have even means to test installations of G4 on SGI systems). However, we're open to make available configurations provided by users, if that does not require nasty changes in code or configuration itself. Our general trend is to move away from compilers which do not follow the C++ standard, and SGI-CC is unfortunately one of these (we used to support it in the past...). The current version of the SGI compiler defines I/O classes in a different namespace than 'std', contrary to the ISO/ANSI standard. We cannot -force- our developers to follow non-standard rules. We honestly hope SGI-CC will evolve. In general, one should avoid (it is a bad practise) to adapt code to compilers features, especially when a language standard is defined. We foresee in a very close future to move 'g4std' to 'std' as well ('g4std' was introduced to make possible the transition from old no-ISO/ANSI compliant compilers to new ones).