return (Compiler<T>) new ArStaticLibraryArchiver(commandLineTool, toolRegistry.getTool(ToolType.STATIC_LIB_ARCHIVER).getArgAction());
}
private String getOutputFileSuffix() {
return OperatingSystem.current().isWindows() ? ".obj" : ".o";
}
<BUG>private <T extends BinaryToolSpec> CommandLineTool commandLineTool(ToolType key) {
String exeName = toolRegistry.getTool(key).getExecutable();</BUG>
CommandLineTool commandLineTool = new CommandLineTool(key.getToolName(), toolSearchPath.locate(key, exeName).getTool(), execActionFactory);
commandLineTool.withPath(toolSearchPath.getPath());
commandLineTool.withEnvironmentVar("CYGWIN", "nodosfilewarning");

return (Compiler<T>) new ArStaticLibraryArchiver(commandLineTool, toolRegistry.getTool(ToolType.STATIC_LIB_ARCHIVER).getArgAction());
}
private String getOutputFileSuffix() {
return OperatingSystem.current().isWindows() ? ".obj" : ".o";
}
private CommandLineTool commandLineTool(ToolType key) {
String exeName = toolRegistry.getTool(key).getExecutable();
CommandLineTool commandLineTool = new CommandLineTool(key.getToolName(), toolSearchPath.locate(key, exeName).getTool(), execActionFactory);
commandLineTool.withPath(toolSearchPath.getPath());
commandLineTool.withEnvironmentVar("CYGWIN", "nodosfilewarning");
