GithubHelp home page GithubHelp logo

nextgenintelligence / gccxml Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gccxml/gccxml

0.0 2.0 0.0 38.56 MB

Home Page: http://www.gccxml.org

License: Other

CMake 0.25% Shell 0.27% C 82.50% Assembly 2.16% C++ 13.95% Objective-C 0.50% Scheme 0.19% Makefile 0.03% Lex 0.04% Yacc 0.02% Awk 0.05% Perl 0.03% DIGITAL Command Language 0.01%

gccxml's Introduction

GCC-XML - XML output for GCC

GCC-XML

Note: GCC-XML has been succeeded by CastXML.

Introduction

This program dumps an XML description of C++ source code using an extension of the GCC C++ compiler.

This document is intended as supplement to the documentation on the GCC-XML homepage. More extensive instructions may be found there.

Build/Install

The standard way to build the GCC-XML front-end is to use CMake (see links at bottom to get it). CMake will generate an appropriate build system for your platform and compiler. There are separate instructions for UNIX and Windows users.

UNIX & Cygwin

These instructions assume that the front-end will be built out-of-source (recommended), but an in-source build should also work. The example command lines assume the current working directory is just above the top-level source directory (called gccxml):

$ mkdir gccxml-build
$ cd gccxml-build
$ cmake ../gccxml -DCMAKE_INSTALL_PREFIX:PATH=/installation/path
$ make
$ make install

(The "-D..." option can be left off if you want to use /usr/local as the installation prefix.)

This will install executables called gccxml and gccxml_cc1plus in PREFIX/bin. Support library files will also be placed in PREFIX/share/gccxml-(version).

Windows

Run the CMake GUI to generate the build system for your compiler. Load the resulting project file and build it. You should be able to run the executable directly from the build directory. It will be located in gccxml-build/bin, gccxml-build/bin/Debug, or gccxml-build/bin/Release depending on the build system chosen.

Solaris

Sun's CC 5.8 is supported. You need modified headers to use gccxml with CC 5.8. You need to follow the instructions in GCC_XML/Support/Sun/README.

Running

Once GCC-XML has been properly configured, it can be run from the command line like this:

$ gccxml input.cxx -fxml=output.xml

Use gccxml --help for a full list of options and configuration help.

gccxml's People

Contributors

bradking avatar billhoffman avatar malaterre avatar dlrdave avatar sebastienbarre avatar fbertelatkitware avatar neundorf avatar zachmullen avatar marvin2k avatar utkarshayachit avatar cryos avatar seanm avatar berkgeveci avatar cjh1 avatar jeffbaumes avatar karthikkrishnan avatar mamoll avatar ellert avatar patmarion avatar yumin avatar

Watchers

James Cloos avatar Vitaliy Talyh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.