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 brent verner <br...@rcfile.org> on 2000/05/15 21:18:57 UTC

compiler flag issues with g++ (egcs-2000501)

Hi,

questions and comments from a newbie :o

comments/observations:

  I ran into some problems compiling xerces with g++ (egcs-20000501).
the flag -instances=static is not a valid option. I'm not even sure
what '-instances=static' is _supposed_ to do, but changing that to 
-static allowed me to compile. also, the new g++ supports c++ 
namespaces, so I had to retrofit most of the test/samples with 
'using namespace std;' to get a successful compile.

  I might be wrong, but I believe xerces may have to something like

#ifdef GXX_NEEDS_NAMESPACE
using namespace std;
#endif

as the release of gcc-3.0 nears. If this is planned, but noone
wants to do the grunt work, I might be able to find _some_ time
to help out - now I'd admittedly be lost in the autoconf madness,
but I can help out w/the monkey work :)

questions:

  Attempting to run some of the progs from tests/, I get the error
that 'sbk:/style/dtd/document.dtd' cannot be found. where do I get
this mythical dtd?

thanks. 
  brent

Re: compiler flag issues with g++ (egcs-2000501)

Posted by brent verner <br...@rcfile.org>.
on Mon, May 15, 2000 at 09:37:52PM -0700, Andy Heninger typed aloud:
| Hi Brent,
| 
|   I appreciate your offer of help.  The more people poking at Xerces,
| the better.  And help on the Linux side would be particularly
| good to have.

hey, I'm not sure how much time I can dedicate to helping (spread too
thin), but I may be able to help enough to count.

| 'sbk:/style/dtd/document.dtd'  is the dtd for the xml files that
| are the source for all of the docs that go with xerces.  The
| html is generated by a set of tools from the xml.  You are right
| about this dtd being missing; I'll put it somewhere reasonable
| tomorrow.

thanks. I'd like to get digging on this xml groove -- gotta use
something for my config file :)

| The questions about the new egcs compiler need more looking at.
| I'm not up on what is going on in that area.

If you have any specific questions, I can possibly answer them. I've
been tracking egcs/libstdc++-v3 for about a month now, so I'm pretty
up on what is happening. I'll report what things I _do_ know that
will become issues with future gcc releases, but I probably won't 
hit all points.

cheers.
  brent

Re: compiler flag issues with g++ (egcs-2000501)

Posted by Andy Heninger <an...@jtcsv.com>.
Hi Brent,

  I appreciate your offer of help.  The more people poking at Xerces,
the better.  And help on the Linux side would be particularly
good to have.

  Our bug database had problems, and is permanently down, but I should
have a plain list of known problems posted up within a few days as
a temporary substitute.

'sbk:/style/dtd/document.dtd'  is the dtd for the xml files that
are the source for all of the docs that go with xerces.  The
html is generated by a set of tools from the xml.  You are right
about this dtd being missing; I'll put it somewhere reasonable
tomorrow.

The questions about the new egcs compiler need more looking at.
I'm not up on what is going on in that area.


Andy Heninger
IBM XML Technology Group, Cupertino, CA
heninger@us.ibm.com


----- Original Message ----- 
From: "brent verner" <br...@rcfile.org>
To: <xe...@xml.apache.org>
Sent: Monday, May 15, 2000 12:18 PM
Subject: compiler flag issues with g++ (egcs-2000501)


> Hi,
> 
> questions and comments from a newbie :o
> 
> comments/observations:
> 
>   I ran into some problems compiling xerces with g++ (egcs-20000501).
> the flag -instances=static is not a valid option. I'm not even sure
> what '-instances=static' is _supposed_ to do, but changing that to 
> -static allowed me to compile. also, the new g++ supports c++ 
> namespaces, so I had to retrofit most of the test/samples with 
> 'using namespace std;' to get a successful compile.
> 
>   I might be wrong, but I believe xerces may have to something like
> 
> #ifdef GXX_NEEDS_NAMESPACE
> using namespace std;
> #endif
> 
> as the release of gcc-3.0 nears. If this is planned, but noone
> wants to do the grunt work, I might be able to find _some_ time
> to help out - now I'd admittedly be lost in the autoconf madness,
> but I can help out w/the monkey work :)
> 
> questions:
> 
>   Attempting to run some of the progs from tests/, I get the error
> that 'sbk:/style/dtd/document.dtd' cannot be found. where do I get
> this mythical dtd?
> 
>