Matthew and David,
 
I picked up the first set of IRIX changes and tried to merge it back to the Apacahe source base. Most of the changes were pertinent and were put in as such. However, since the diffs are based on older code, many of them are not relevant now. (The diffs actually were useless from a tools point of view; I had to manually look over each change before deciding to put it in).
 
The changes have been commited to the Apache server. However, some of the changes could not be put in because of the reasons stated below. So, the present code base may or may not work. (I could not check it first-hand since I do not have access to an IRIX machine). Please send your feedback on the changes and we can make further improvements, if necessary.
 
src/Makefile.incl <- IRIX specific definitions have been included. However, towards the end of the file where the rule to convert .cpp to .o file is mentioned, there is a special rule for IRIX. This is not a good principle. So it has been excluded at the moment. The only difference is in the @F part. If you can find a better way to make it work without an "if PLATFROM=IRIX" statement, that will be more preferable.

src/runConfigure <- The use of $compileroption to the list of libraries in line 517 does not look logical. So it has been excluded.

src/util/PlatformUtils.hpp <- No change has been included since they all seem obsolete. The streaming functions were all taken out and don't exist any more.

src/util/Platforms/IRIX/IRIXPlatformUtils.cpp <- Most changes have been put in. However the code that looks for the library location is not relevant anymore. A lot more changes went in since the 1.1.0 release which I also included. In general, David's suggestion to start from the LinuxPlatformUtils.cpp appears more reasonable.

samples/Makefile.incl <- no problem, all changes put in
samples/runConfigure <- no problem, all changes put in
 
Please check out the new code directly from Apche's CVS repository, and point out problems if any.
 
Matthew and David have both been acknowledged in the docs where list of contributors are mentioned.
 
- Anupam Bagchi  ([EMAIL PROTECTED])
Advisory Software Engineer
IBM, Java Technology Center, Cupertino, CA 95014
----- Original Message -----
Sent: Saturday, April 01, 2000 8:23 PM
Subject: IRIX changes ...

Hi There,
 
I have also just got Xerces-C version 1.1.0 compiled under SGI IRIX 6.5, using MIPSpro 7.30 on an O2. I'm also compiling n32 binaries, and will eventually be looking at 64 bit binaries on an Origin 2000.
 
Sounds like I made similar changes to make it work, although instead of changing PlatformUtils.hpp, I pretty much replaced IRIXPlatformUtils.cpp with LinuxPlatformUtils.cpp (appears that a lot of code which was moved to the "code attic" in the Linux version was still in the IRIX version).
 
To start with, things were not looking good, and I thought I had traced back the problem to the native transcoder, so I compiled the ICU libraries and used them instead of the native transcoder. However, this did not fix the problem - so I compiled a debug version of the ICU libraries and Xerces-C - which appears to fix all my problems and work perfectly with all the samples I have tried. Not sure yet whether this is a problem with the changes I made or the optimisation of the 7.30 compilers (any suggestions would be welcome!!).
 
I have only just joined the mailing list and can't seem to get the file attachments from the archive, but would like to compare my changes with Matthew Baker's if someone could please send them to me.
 
If anyone is interested, a list of the changes I made can be found at http://www.esc.auckland.ac.nz/People/Students/Nickerso/Xerces-C/index.html
 
 
Thanks,
David.

Reply via email to