public final class GccCCompiler extends GccCompatibleCCompiler
objDir, workDirDEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID| 限定符和类型 | 方法和说明 |
|---|---|
void |
addImpliedArgs(Vector<String> args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization) |
Processor |
changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.Environment env) |
protected Object |
clone() |
void |
compile(CCTask task,
File outputDir,
String[] sourceFiles,
String[] args,
String[] endArgs,
boolean relentless,
CommandLineCompilerConfiguration config,
ProgressMonitor monitor)
Compiles a source file.
|
protected Parser |
createParser(File source)
Create parser to determine dependencies.
|
static GccCCompiler |
getCppInstance()
Gets c++ adapter
|
File[] |
getEnvironmentIncludePath() |
static GccCCompiler |
getG77Instance()
Gets g77 adapter
|
static GccCCompiler |
getGppInstance()
Gets gpp adapter
|
String |
getIdentifier()
Retrieve an identifier that identifies the specific version of the
compiler.
|
static GccCCompiler |
getInstance()
Gets gcc adapter
|
Linker |
getLinker(LinkType linkType)
Gets the linker that is associated with this processors
|
int |
getMaximumCommandLength() |
addIncludePath, addWarningSwitch, getArgumentCountPerInputFile, getDefineSwitch, getIncludeDirSwitch, getIncludeDirSwitch, getInputFileArgument, getUndefineSwitchaddIncludes, buildDefineArguments, createConfiguration, getCommand, getCommandWithPath, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getOutputFileNames, getTotalArgumentLengthForInputFile, runCommand, setCommandcanParse, createConfiguration, getBaseOutputName, getOutputSuffix, parseIncludes, resolveInclude, setObjDir, setWorkDirbid, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toStringpublic static GccCCompiler getCppInstance()
public static GccCCompiler getG77Instance()
public static GccCCompiler getGppInstance()
public static GccCCompiler getInstance()
public void addImpliedArgs(Vector<String> args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
addImpliedArgs 在类中 GccCompatibleCCompilerpublic Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment 在接口中 ProcessorchangeEnvironment 在类中 AbstractProcessorprotected Object clone() throws CloneNotSupportedException
clone 在类中 AbstractProcessorCloneNotSupportedExceptionpublic void compile(CCTask task, File outputDir, String[] sourceFiles, String[] args, String[] endArgs, boolean relentless, CommandLineCompilerConfiguration config, ProgressMonitor monitor) throws org.apache.tools.ant.BuildException
CommandLineCompilercompile 在类中 CommandLineCompilerorg.apache.tools.ant.BuildExceptionprotected Parser createParser(File source)
createParser 在类中 CommandLineCCompilerpublic File[] getEnvironmentIncludePath()
public String getIdentifier() throws org.apache.tools.ant.BuildException
ProcessorgetIdentifier 在接口中 ProcessorgetIdentifier 在类中 CommandLineCompilerorg.apache.tools.ant.BuildExceptionpublic Linker getLinker(LinkType linkType)
Processorpublic int getMaximumCommandLength()
Copyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.