public final class GccCCompiler extends GccCompatibleCCompiler
objDir, workDir
DEFAULT_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, getUndefineSwitch
addIncludes, buildDefineArguments, createConfiguration, getCommand, getCommandWithPath, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getOutputFileNames, getTotalArgumentLengthForInputFile, runCommand, setCommand
canParse, createConfiguration, getBaseOutputName, getOutputSuffix, parseIncludes, resolveInclude, setObjDir, setWorkDir
bid, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
public 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
在类中 GccCompatibleCCompiler
public Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment
在接口中 Processor
changeEnvironment
在类中 AbstractProcessor
protected Object clone() throws CloneNotSupportedException
clone
在类中 AbstractProcessor
CloneNotSupportedException
public void compile(CCTask task, File outputDir, String[] sourceFiles, String[] args, String[] endArgs, boolean relentless, CommandLineCompilerConfiguration config, ProgressMonitor monitor) throws org.apache.tools.ant.BuildException
CommandLineCompiler
compile
在类中 CommandLineCompiler
org.apache.tools.ant.BuildException
protected Parser createParser(File source)
createParser
在类中 CommandLineCCompiler
public File[] getEnvironmentIncludePath()
public String getIdentifier() throws org.apache.tools.ant.BuildException
Processor
getIdentifier
在接口中 Processor
getIdentifier
在类中 CommandLineCompiler
org.apache.tools.ant.BuildException
public Linker getLinker(LinkType linkType)
Processor
public int getMaximumCommandLength()
Copyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.