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 Er...@born.com on 2000/07/20 02:46:21 UTC

Has anyone successfully built on Solaris 2.7 using GNU CC 2.8.1?

I am trying to build xerces-c 1.2.0a on Solaris 2.7 using gcc/g++ 2.8.1.  I
realize from the documentation that this is an untested OS/compiler
combination (the tested is to use Sun CC/cc - we don't have a license for
it), but I am hoping that maybe someone has been through this before. I
didn't see anything related to this in the archives.

I am getting "internal compiler error" when compiling three methods, as
follows:

ReaderMgr.cpp: In method `class XMLReader * ReaderMgr::createReader(const
__wchar_t *, const __wchar_t *, bool, enum XML
Reader::RefFrom, enum XMLReader::Types, enum XMLReader::Sources, class
InputSource *&)':
ReaderMgr.cpp:609: Internal compiler error.

DOMString.cpp: In function `static void * DOMStringHandle::operator
new(unsigned int)':
DOMString.cpp:306: Internal compiler error.

DTDElementDecl.cpp: In method `class XMLContentModel *
DTDElementDecl::createChildModel() const':
DTDElementDecl.cpp:413: Internal compiler error.


Everything else seems to compile fine. Here is an example of the compiler
command:

g++ -fPIC -instances=static -DSOLARIS -D_REENTRANT -c -O
-DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -I
/export/home/StoryServer/xerces-c/xerces-c-src_1_2_0/include  -o
/export/home/StoryServer/xerces-c/xerces-c-src_1_2_0/obj/SOLARIS/DTDElementD
ecl.o DTDElementDecl.cpp


Any help or suggestions (even "Don't bother trying -just get the CC
license") would be appreciated.

Thanks,
-Eric

Eric Brandaw
e-Business National Delivery Team
BORN


Re: Has anyone successfully built on Solaris 2.7 using GNU CC 2.8.1?

Posted by Alexandre Blum <ab...@4js.com>.
Hi Eric,

Try the gcc 2.95.2.
I have build successfully the 1.2.0a on Solaris 2.5.1 using gcc/g++
2.95.2.

Eric.Brandaw@born.com wrote:
> 
> I am trying to build xerces-c 1.2.0a on Solaris 2.7 using gcc/g++ 2.8.1.  I
> realize from the documentation that this is an untested OS/compiler
> combination (the tested is to use Sun CC/cc - we don't have a license for
> it), but I am hoping that maybe someone has been through this before. I
> didn't see anything related to this in the archives.
> 
> I am getting "internal compiler error" when compiling three methods, as
> follows:
> 
> ReaderMgr.cpp: In method `class XMLReader * ReaderMgr::createReader(const
> __wchar_t *, const __wchar_t *, bool, enum XML
> Reader::RefFrom, enum XMLReader::Types, enum XMLReader::Sources, class
> InputSource *&)':
> ReaderMgr.cpp:609: Internal compiler error.
> 
> DOMString.cpp: In function `static void * DOMStringHandle::operator
> new(unsigned int)':
> DOMString.cpp:306: Internal compiler error.
> 
> DTDElementDecl.cpp: In method `class XMLContentModel *
> DTDElementDecl::createChildModel() const':
> DTDElementDecl.cpp:413: Internal compiler error.
> 
> Everything else seems to compile fine. Here is an example of the compiler
> command:
> 
> g++ -fPIC -instances=static -DSOLARIS -D_REENTRANT -c -O
> -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -I
> /export/home/StoryServer/xerces-c/xerces-c-src_1_2_0/include  -o
> /export/home/StoryServer/xerces-c/xerces-c-src_1_2_0/obj/SOLARIS/DTDElementD
> ecl.o DTDElementDecl.cpp
> 
> Any help or suggestions (even "Don't bother trying -just get the CC
> license") would be appreciated.
> 
> Thanks,
> -Eric
> 
> Eric Brandaw
> e-Business National Delivery Team
> BORN
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org

-- 
Alexandre BLUM
--
Four J's Development Tools (www.4js.com)
ab@4js.com - Tel +33 (0)3 88 18 61 20 - Fax +33 (0)3 88 18 61 21
--
CAUTION: import com.fourjs.StandardDisclaimer;