Home Sponsors Running Download Install FAQ Bug Tracker News Links Copyright |
Installing GCC-XML has been significantly simplified by combining a patched GCC with the GCC-XML front-end in a single source tree. For those interested, the old install instructions are still available. This page covers the build and installation process of GCC-XML from source. Refer to the Download page to get a copy of the source tree. GCC-XML uses CMake to support building on many platforms. A copy of CMake may be obtained from the CMake download page. CMake will generate an appropriate build system for your platform and compiler.
WindowsRun the CMakeSetup GUI and specify the GCC-XML tree for the source directory. Specify a directory of your choice as the build directory (typically this is placed next to the source directory). Select the desired build system generator from the drop down menu. Use the GUI to generate a build system for GCC-XML on your computer. Then use the corresponding native tools on your system to actually build GCC-XML.
When the build finishes, there will be a " UNIX & CygwinThese instructions assume that GCC-XML will be built out-of-source (recommended), but an in-source build should also work. The commands below assume that you have extracted the source code into your home directory as~/gccxml
You can change the install prefix by adding
-DCMAKE_INSTALL_PREFIX:PATH=/installation/path to the
CMake command (default is /usr/local ). If you are
familiar with CMake, you should probably use the
ccmake curses dialog instead.
This will install an executable called "
The " |