|
Ice for non-Intel systems (SPARC)
As an exercise, I have tried building Ice on a Linux/Sparc SMP system, gcc-3.2. The following comments might be of interest.
1. For the build to get anyplace at all, I had to add to CXXFLAGS
-Di386 -DICE_USE_MUTEX_SHARED=1 (in config/Make.rules)
The first is a lie to keep some tests in header files happy, and the second is
to avoid intel assembler.
2. In any files which included anything from xerces/..., in "appropriate places" I
had to add the macro call
XERCES_CPP_NAMESPACE_USE
in order to get "using namespace xerces;" which is how xerces built itself.
("Appropriate" for me was after other "using..." in .cpp files, and in '.h' files thus:
namespace <whatever> {
XERCES_CPP_NAMESPACE_USE
)
The first of these is a work-around, but the second is probably a good idea in general
since the macro is empty if it is not required.
With these changes, Ice builds cleanly, and all tests run except for Glacier/startup.
Comments or suggestions?
__________________
--
Ferris McCormick
|