Home Sponsors Running Download Install FAQ Bug Tracker News Links Copyright |
**NOTE**:
Installing GCC-XML has been significantly
simplified by combining a patched GCC with the GCC-XML front-end
in a single source tree. This page is provided for historical
purposes. Please see the
current installation instructions
if you are new to GCC-XML.
Patching the source to GCC 3.0.4 is the choice for you if you want to make the extension part of your installation of GCC. The extension is "read-only" in that it will not modify GCC's internal representation of a program in any way. If you want to use GCC-XML only as a separate tool, you should use the normal Installation instructions.
-fxml=... flag available.
However, you should be careful using it through the compiler-driver
programs like gcc or g++ . These programs
add extra preprocessor macro definitions that may affect the parsing of
the code. Instead, you should use the tool through the
cc1plus executable so that you can exactly control the
way your code is pre-processed before being dumped in XML. This
executable is located in PREFIX/lib/gcc-lib/PLATFORM/3.0.4
(where PREFIX is your installation prefix, and PLATFORM is something
like i686-pc-linux-gnu).
The next step is to build the GCC-XML front-end program. See the
normal Installation
instructions to do this. Whenever they refer to placing the
|