add gcc side of plugin

this adds the gcc side of the plugin
it compiles but hasn't been tested at all
use fatal_error, not abort
fix install directory of plugin
handle output reporting