[GCC-XML]Re: problems building gccxml

Brad King brad.king at kitware.com
Tue Apr 1 09:05:59 EST 2003


> gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
> I get the following error:
> In file included from
> ../../../../gccxml-0.4.2-cc1plus-304/libstdc++-v3/src/locale.cc:557:
> /home/rannou/Software/gccxml-0.4.2-cc1plus-304-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:
> In
>    constructor `std::ctype<char>::ctype(const short unsigned int*, bool,
>    unsigned int)':
> /home/rannou/Software/gccxml-0.4.2-cc1plus-304-build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:44:
> `__ctype_toupper'
>    undeclared (first use this function)

It looks like you're trying to run just plain "make" to build the patched
GCC after configuring, as the instructions on the web page indicate.  It
seems that gcc 3.2 cannot compile gcc 3.0's standard C++ library, so the
instructions on the web page are now out of date.  Try configuring with
"--without-libstdcxx" as an option.

Actually, the build might be done as far as you need anyway.  Look in the
build tree under the "gcc" directory.  There should be an executable
called "cc1plus".  This should be renamed to the gccxml_cc1plus executable
and placed next to the gccxml executable as described here:

http://www.gccxml.org/HTML/Install.html

-Brad




More information about the gccxml mailing list