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 Martin Kalen <ma...@todaysystems.com.au> on 2001/02/23 07:01:07 UTC

Any successful Xerces-C compilations with gcc under HPUX11?

Thank you for your reply, Andy - saves us the trouble of trying to
link the object files.

I have searched the mail archives and found two people trying to
compile Xerces-C with gcc/g++ uder HPUX, both getting coredumps as we
did. (In 2000/02 and 2000/11, no links since mailarchive is down for
the moment.)

I am using gcc 2.95.2 under HP/UX B11.00 and my settings in
Makefile.incl are as follows:
PLATFORM_COMPILE_OPTIONS
= -D_POSIX_C_SOURCE=199506L -fPIC -D${PLATFORM} -D${OSVERDEFINE}
MAKE_SHARED = ${CXX} -D${PLATFORM} -shared -fPIC
MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared -fPIC
ALLLIBS = ${LIBS}

Compilation and linking is fine, no errors - all tests and samples
coredumps straight away. Anyone had more luck with gcc/g++ on this
platform?

Have a good weekend,
 Martin.
--
Martin Kalen
Software Engineer
TODAY Systems, Inc.
http://www.todaysystems.com.au/
Tel +61-3-9536 3900 - Fax +61-3-9536 3901

----- Original Message -----
From: "Andy Heninger" <an...@jtcsv.com>
To: <xe...@xml.apache.org>
Sent: Friday, February 23, 2001 3:25 PM
Subject: Re: Unresolved symbols when linking with xerces library on
HP11


>> [...] is it impossible to compile with different compilers?
>
> It's impossible.  You'll need to rebuild xerces with gcc.  I
wouldn't
> expect any major problems, since xerces has been built with gcc on
> quite a few platforms already.
[snip]
> Andy Heninger
> IBM XML Technology Group, Cupertino, CA
> heninger@us.ibm.com