You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Steve Westwood <sw...@dbgroup.co.uk> on 2002/02/20 10:30:37 UTC

Using 1.6.0 compiled under xlC_r 3.6.6 under AIX

For various historical reason, AIX C++ development within the environment I
am working under is limited to the use of xlc_r/xlC_r version 3.6.6. I
notice that the production version of Xerces-C currently distributed is
compiled using 5.02.
 
As a consequence, I have downloaded the source and have successfully built a
version of Xerces using xlC_r 3.6.6 . In addition, I have compiled and run
the samples, and they seem to work OK. However, before I embark upon any
major development with Xerces-C, I am keen to ensure that I am not causing
myself any problems by using a version compiled under xlC_ r 3.6.6. Is the
current distribution of Xerces-C under AIX using any compiler features
specific to 5.02? Are there any issues I need to be aware of by compiling
under a different version of xlC_r? I have scanned the mail archive and
cannot find any obvious issues that I need to be aware of.
 
Thanks in advance for any help,
 
Steve Westwood 
DB Consulting PLC
Swan House, 
Madeira Walk
Windsor, Berkshire, SL4 1EU
Tel: 01753 838600
Fax: 01753 838610
www.dbconsulting.co.uk <http://www.dbconsulting.co.uk/> 
 
 

Re: Using 1.6.0 compiled under xlC_r 3.6.6 under AIX

Posted by Martin Kalen <ma...@todaysystems.com.au>.
Steve,
    you should not have any problems with this. I am pretty sure the compiler upgrade is just to keep the binary distribution up to date, i.e. on the same level as what most people would want to use for linking.
(See e.g. http://marc.theaimsgroup.com/?l=xerces-c-dev&m=101103076208414&w=2)

Everything in Xerces-C++ that is platform- and/or compiler-specific is abstracted in the high level code, and implemented in the src/util/Platforms and src/util/Compilers directories.

If you are in paranoia mode, just examine the following files:
src/util/Platforms/AIX/AIXPlatformUtils.cpp
src/util/Compilers/CSetDefs.cpp
(with the accompanying .hpp files).

Everything else is independent of AIX/xlC and is only subject to any bugs your compiler/assembler/linker might have. (Highly unlikely that you will find anything similar with IBM xlC and AIX.)

Regards,
 Martin
  However, before I embark upon any major development with Xerces-C, I am keen to ensure that I am not causing myself any problems by using a version compiled under xlC_ r 3.6.6. Is the current distribution of Xerces-C under AIX using any compiler features specific to 5.02?