> Maybe the most sensible option would be to have an extra flag in > runConfigure for SGI ABI (-a for example). Easiest way to implement it > would be simply to append it to the CC and CXX variables (CXX becomes > "$cppcompiler $abi and CC becomes "$ccompiler $abi"). I'm happy doing > this and Emailing the new runConfigure files if this style change is > approved.
sounds good to me!! > Regarding the relative path problem, my suspicions are that it has > something to do with IRIX's realpath command. I'm not sure it returns > what we expect. I'll investigate this. > Good luck!! If it is any help, I have gone through XMLScanner::scanDocument(const XMLCh* ...) transcoding and writing out the systemId. This string (containing the relative file name) is fine on entry to the routine, and is still fine after tmpURL is created and after the check isRelative is performed. But in the catch for MalformedURLException the systemId appears to have turned into nonsense - before the LocalFileInputSource is created, so the filename going into getFullPath in the IRIX platform utils is nonsense, causing realpath to return NULL. If you remove the URL code from scanDocument, and only ever create a LocalFileInputSource, then everything works fine - including relative paths. Or, as I mentioned yesterday you simply transcode the systemId on entry to scanDocument everything works !?!? David.