----- Original Message -----
From: <[EMAIL PROTECTED]>
Sent: Saturday, August 25, 2001 2:11 AM
Subject: Compiling Xerces-C with gcc on Solaris 2.8


> Can I compile the latest  Xerces-C  xml  with gcc on Solaris2.8. If there
is a
> known problem , some body please inform me.

Xerces-C 1.4 works fine with gcc 2.95.2, so I think you stand a good chance
with the latest Xerces-C source as well.

If you run into problems, try changing the compiler options used in
Makefile.incl for PLATFORM=SOLARIS and CXX=g++. This is what we use for the
configuration above:
PLATFORM_COMPILE_OPTIONS
= -D${PLATFORM} -fPIC -instances=static -D_POSIX_C_SOURCE=199506L -D__EXTEN
SIONS__
MAKE_SHARED = ${CXX} -D${PLATFORM} -shared

Note that you must specify "g++" (not gcc or c++) as the compiler name when
running "runConfigure", due to the somewhat limited string matching of
compiler names in Makefile.incl.

Regards,
 Martin.


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

Reply via email to