Hi everyone,

I told everyone I'd let them know what was needed to do to
build xerces + Xalan on AIX using gcc instead of xlc/xlC.

I was able to get xerces to build, and link with our existing
programs.  I needed to manually add an empty entry point. 
(All AIX shared libraries need this).

Do do this, I put in util/Platforms/AIX/AIXPlatformUtils.cpp:
extern "C" {
    void EntryPoint() {
        ;
    }
}

The linker I had to change manually in Makefile.incl in the 
AIX section to:

   MAKE_SHARED = ld -p 5000 -brtl ($LDFLAGS) -H512 -T512 -e EntryPoint
-bM:SRE

Notice the -e EntryPoint.  That's the function I added above.

There was some error message about the args being in the 
wrong order (I think the -b had to be first?), but that was 
changed by another edit of Makefile.incl.

I was never able to resolve the Xalan issues from before, 
so I punted.  We went back to the AIX compiler, rebuilt 
everything (which was necessary, since we're on 32-bit 4.3.3)
and both xerces and Xalan worked out of the box.

Thanks everyone for your help,
-- 
--Brian T. Shelden           [EMAIL PROTECTED]
Shelden & Associates, Inc.               New York, NY 10280
Certified MQSeries Specialists               (212) 786-0175

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to