I added a explicit rule to the Makefile.in to ensure that
FormatterToHTML.cpp is forced with -O0 and thus it works.
$(addprefix $(ALL_OBJECTS_DIR)/,$(addsuffix .o,FormatterToHTML)):
XMLSupport/FormatterToHTML.cpp
$(CC1) -c $(XSL_INCL) -O0 -o $@ $<
I have a few patches to make a STLPort 4.5 build and rpms of it.
I will upload me first version of the rpms to
http://sourceforge.net/project/showfiles.php?group_id=16036
Among the patches is a xalan-config script to make it easy for clients
to find the lib/headers. though I need to add a --soname option so
that the same config script can handle 1.3 and other versions. I guess
that depends on how much API/ABI compatibility changes between versions.
I also patch the Makefile.in to use the xerces-c-config I created in
my xerces-c 1.6.0 rpm files. I can send the patches and spec file to
see if we can integrate some of it into the main build tree.
The only thing that I have not bee able to work out is how
to build the html docs. doxygen fails with
[xdocs]$ doxygen DoxyfileXalan
Error: tag INPUT: input source `../src/XpathCAPI' does not exist
and I cant figure out how to make that file :(
Holger Fl�rke <[EMAIL PROTECTED]> writes:
> FYI:
>
> I have build Xalan-C++ 1.3 successfully with GCC-3.0.3 on RedHat 7.0 without running
>in the
> optimezing bug seen in 3.0.0, 3.0.1, and 3.0.2.
>
>
> HolgeR
>
> At 21:51 13.01.2002 -0800, you wrote:
> > The problem with FormatterToHTML.cpp is a due to a bug in the gcc optimizer. If
>you build that
> > particular file without the -O flag everything should be fine.
>
>
>
>
> >To:[EMAIL PROTECTED]
> >cc:[EMAIL PROTECTED]
> >Subject:gcc build and -instances=static
> >
> >
> >
> >It seems that this flag is not supported by gcc,
> >at least by 2.95, 2.96-99 and 3.0.2 gcc's all don't
> >like that option. It would also seem that the
> >build problem that I am having is in passing a static
> >map reference "s_elementFlags" to initializeElementFlagsMap()
> >at "XMLSupport/FormatterToHTML.cpp" line 2093 of 2136
> >
> >Perhaps the static object is not being constructed before
> >it is being used?
> >
> >--
> >-----------------------------------------------------
>
>><http://witme.sourceforge.net/libferris.web/index.html>http://witme.sourceforge.net/libferris.web/index.html
> >
> >
> >
>
> --
>
> holger floerke d o c t r o n i c
> email [EMAIL PROTECTED] information publishing + retrieval
> phone +49 2222 9292 90 http://www.doctronic.de
>
--
-----------------------------------------------------
http://witme.sourceforge.net/libferris.web/index.html