public <T extends BinaryToolSpec> Compiler<T> createCCompiler() { CommandLineTool<CCompileSpec> commandLineTool = commandLineTool("C compiler", install.getCompiler(targetPlatform)); Transformer<CCompileSpec, CCompileSpec> specTransformer = addIncludePath(); commandLineTool.withSpecTransformer(specTransformer); CCompiler cCompiler = new CCompiler(commandLineTool); return (Compiler<T>) new OutputCleaningCompiler<CCompileSpec>(cCompiler, ".obj"); }