You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Christoph Kliemt <ck...@gmx.net> on 2001/03/31 15:31:23 UTC
Buidling Xalan c++ (linux)
Hi!
Problem (reproduceable):
GNU C++ version 2.95.2 19991024 (release) (i586-pc-linux-gnu)
compiled by GNU C version 2.95.2 19991024 (release).
XMLSupport/FormatterToHTML.cpp: In function `void
initializeElementFlagsMap1(ElementFlagsMapType &)':
XMLSupport/FormatterToHTML.cpp:1249: virtual memory exhausted
make: *** [/usr/local/src/xalan/xml-xalan/c//obj/FormatterToHTML.o]
Error 1
I added 64MB swap and this error was gone. But : The resulting
libxalan-1.4.0 is about 63MB...! :-/
Someone to help me out?
My ideas so far :
- initializeElementFlagsMap1 uses STL a lot, so it may emmit
instances of the same template over and over again?! Maybe the gcc
options -frepro or -fno-implicit-templates are a possible solution?
(I do not like the latter option, since it requires to instanciate
all the templates "by hand")
Side-effects to expect?
- disable debugging-symbols?
\\// christoph kliemt
btw : What does "-instances=static" stand for? I did not find
anything in gcc info...?!
--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real
Programmer wants a "you asked for it, you got it" text editor --
complicated, cryptic, powerful, unforgiving, dangerous.