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 Ma...@3com.com on 2001/08/24 18:11:46 UTC

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.

Thanks

Mani.S



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Compiling Xerces-C with gcc on Solaris 2.8

Posted by Martin Kalen <ma...@todaysystems.com.au>.
----- Original Message -----
From: <Ma...@3com.com>
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Compiling Xerces-C with gcc on Solaris 2.8

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
Manivasagam_Sivaraman@3com.com writes:

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

How about trying it and letting us know the result? 

I would suggest searching the archives to see if someone else hasn't
asked the same question last week:

  http://marc.theaimsgroup.com/?l=xerces-c-dev&r=1&w=2

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org