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 Holger Floerke <fl...@doctronic.de> on 2002/08/16 09:53:41 UTC
GCC 3.2
Hi there,
I don't know whether this is the right forum for this question. It is
gcc related, but in this list are many people using xerces-c and gcc.
I use xerces-c-1.6.0 (because Xalan-C-1.3) on linux machines. I would
like to compile my code with a newer version of gcc (eg 3.2). Everything
works fine, if I recompile xerces-c with the same version of gcc. But I
would like to use the precompiled versions from xml.apache.org. If I
compile my code with gcc 3.2 and link against the precompiled libraries,
the linker can't find xerces-c functions (eg:
attributeindex_test.o(.gnu.linkonce.t._ZN13UnicodeStringD1Ev+0x5):
undefined reference to `DOMString::~DOMString [not-in-charge]()')
Does anybody uses this scenario or anybody can help me?
TIA
HolgeR
--
holger floerke d o c t r o n i c
email floerke@doctronic.de information publishing + retrieval
phone +49 2222 9292 90 http://www.doctronic.de
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: GCC 3.2
Posted by Guillaume Morin <gu...@morinfr.org>.
Hi Holger,
Dans un message du 16 aoû à 9:53, Holger Floerke écrivait :
> I use xerces-c-1.6.0 (because Xalan-C-1.3) on linux machines. I would
> like to compile my code with a newer version of gcc (eg 3.2). Everything
> works fine, if I recompile xerces-c with the same version of gcc. But I
> would like to use the precompiled versions from xml.apache.org. If I
> compile my code with gcc 3.2 and link against the precompiled libraries,
> the linker can't find xerces-c functions (eg:
> attributeindex_test.o(.gnu.linkonce.t._ZN13UnicodeStringD1Ev+0x5):
> undefined reference to `DOMString::~DOMString [not-in-charge]()')
GCC 3.2 has a number of C++ ABI fixes which make its C++ compiler
generate binary code which is incompatible with the C++ compilers found
in earlier GCC releases.
Therefore if you want to compile your code with gcc 3.2, you must
compile xerces-c with gcc 3.2.
Regards,
--
Guillaume Morin <gu...@morinfr.org>
Et si je suis bien que si j'ai bu, tant pis (Cornu)
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org