adding a fair few source files for g2c