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 "Jiang, John" <Jo...@ghrsystems.com> on 2000/07/07 18:06:30 UTC

RE: compile xerces-c on solaris

thanks peter. I have successed with CC compiler.

-----Original Message-----
From: peter.buss@systor.com [mailto:peter.buss@systor.com]
Sent: Friday, June 30, 2000 9:16 AM
To: xerces-c-dev@xml.apache.org
Subject: Re: compile xerces-c on solaris


On Solaris 2.6 I built the Library and my own application Libraries with
the sun compiler and everything
works fine. On my Linux (S.u.S.E 6.4) I did the same with Xerces-c_1_2_0
using a self built gnu 2.95.2
compiler and the examples I tested worked fine. Xerces-c_1_1_0 had some
problems that I ignored and
went onto 1_2_0.

I built the compiler with all other gcc-* distrubutions available. There
are a few of them. You have to tell
configure to include the add ons and do what ever other things are
necessary for your system. I assume
one or more of them are necessary for work with templates. C++ templates
would not work correctly
with the default compiler delivered with the S.u.S.E Linux 6.4
distribution.

Peter BUSS




|---------------------------------+---------->
|                                 |          |
|---------------------------------+---------->
  >-----------------------------------------------------------------------|
  |                                                                       |
  >-----------------------------------------------------------------------|
|---------------------------------+---------->
|                                 |          |
|---------------------------------+---------->
  >-----------------------------------------------------------------------|
  |                                                                       |
  >-----------------------------------------------------------------------|
|---------------------------------+---------->
|                                 |          |
|---------------------------------+---------->
  >-----------------------------------------------------------------------|
  |                                                                       |
  >-----------------------------------------------------------------------|
|---------------------------------+---------->
|                                 |          |
|---------------------------------+---------->
  >-----------------------------------------------------------------------|
  |                                                                       |
  >-----------------------------------------------------------------------|
|---------------------------------+---------->
|                                 |          |
|---------------------------------+---------->
  >-----------------------------------------------------------------------|
  |                                                                       |
  >-----------------------------------------------------------------------|


|--------+----------------------------->
|        |               "Jiang, John" |
|        |           <John_Jiang@ghrsy |
|        |                  stems.com> |
|        |                             |
|        |            28.06.2000 17:42 |
|        |           Please respond to |
|        |                xerces-c-dev |
|        |                             |
|        |                             |
|        |                             |
|        |                             |
|        |                             |
|        |                             |
|        |                             |
|        |                             |
|        |                             |
|        |                             |
|        |                             |
|        |                             |
|--------+----------------------------->
  >-----------------------------------------------------------------------|
  |                                                                       |
  |    To: xerces-c-dev@xml.apache.org                                    |
  |    cc: (bcc: Peter Buss/T031377/SYSTOR)                               |
  |    bcc:                                  Peter Buss/T031377/SYSTOR    |
  |   Subject:                              compile xerces-c on solaris   |
  |                                                                       |
  |   Status:                                                             |
  |                                                                       |
  >-----------------------------------------------------------------------|





Hi, I compiled a Xerces-c_1_1_0 on solaris 7 using g++ 2.95 and I compiled
a
sample PParse. The Library always failed on Initialize()
function. I also compile a GNU make from make-3.97.tar and followed the
step
as suggested.

Basically, it will have a fragmentation fault when it execute following :
XMLLCPTranscoder* defXCode =
XMLPlatformUtils::fgTransService->makeNewLCPTranscoder();


Does it need a specific version of g++ or GNU make to make it works?


john jiang

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





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