Examples of Gcc


Examples of org.renjin.gcc.Gcc

        return;
      }
     
      List<GimpleCompilationUnit> units = Lists.newArrayList();

      Gcc gcc = new Gcc(getWorkDirectory());
      gcc.extractPlugin();
      gcc.addIncludeDirectory(unpackIncludes());
      gcc.setGimpleOutputDir(gimpleDirectory);

      for(File sourceFile : sources) {
        GimpleCompilationUnit unit;
        try {
          unit = gcc.compileToGimple(sourceFile, "-std=gnu99");
        } catch(Exception e) {
          throw new GccException("Error compiling " + sourceFile + " to gimple: " + e.getMessage(), e);
        }

        try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.