Skip to content
Now deprecated as GCCXML has been made easier to install.
C Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
ext
headers
.gitignore
MIT_LICENCE
README.md
Rakefile
gccxml.rb

README.md

GCC-XML in Gem form

Deprecated Gem

GCCXML used to be quite difficult to install on all systems, but with the advent of tools like homebrew on Mac, it's much easier to build, install, and use GCCXML on all platforms.

This gem is no longer required, and the functionality has been merged into rbgccxml.


This package exists to make it easy for anyone to install the GCC-XML package on their system. Binary gems are provided at

http://rubygems.org/gems/gccxml_gem

There are two ways of using gccxml with this gem. You can access the executable directly via:

/path/to/gems/gccxml_gem/bin/gccxml

Or you can use the small Ruby lib that's included

require 'gccxml'

gccxml = GCCXML.new

# Add any -I flags to the command
gccxml.add_includes(...)

# Add any other flags to the command line
gccxml.add_cxxflags(...)

# You then tell GCCXML to parse a header file and tell it
# to write the resulting XML to output_file
gccxml.parse(path_to_header, output_file)

Misc

Project page: http://github.com/jasonroelofs/gccxml_gem

Something went wrong with that request. Please try again.