----- Original Message -----
From: "Karimeddini, Fereshteh" <[EMAIL PROTECTED]>
> Is there a version of libxerces-c library for HP that links with
> libCsup_v2.2?
> If not, is it possible for us to build it in house while linking
with
> libCsup_v2.2?
Fereshteh,
I just did a quick test on HP-UX B.11.00 with aCC A.03.15 and it
worked fine to link Xerces-C dynamically against libCsup_v2. I have
only tested with some small sample programs, but see no reason why
there should be problems with other projects if all the symbols are
resolved and the c-library functions works OK.
What you have to do, to recompile your own Xerces-C library against a
libCsup of your liking is to modify the file:
$XERCESCROOT/src/Makefile.incl
Search for the section saying "ifeq (${PLATFORM}, HPUX)" and "ifeq
(${CXX}, aCC)" and change the line
ALLLIBS =
to suit your needs.
Should you have any additional problems, it is most likely compile or
link flags that are the problem. I did not use ICU and my settings
were as follows:
PLATFORM_COMPILE_OPTIONS = -D_THREAD_SAFE \
-D_HPUX_SOURCE -D${PLATFORM} -D${OSVERDEFINE} +DAportable +Z
ALLLIBS = ${LIBS} -lCsup_v2 -lstream
MAKE_SHARED = ${CXX} -D${PLATFORM} -b +Z -Wl,+b,/usr/local/lib,+s
Regards,
Martin.
--
Martin Kalen
Software Engineer
TODAY Systems, Inc.
http://www.todaysystems.com.au/
Tel +61-3-9536 3900 - Fax +61-3-9536 3901
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]