public final class GccCCompiler extends GccCompatibleCCompiler
objDir, workDir
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier and Type | Method and Description |
---|---|
void |
addImpliedArgs(Vector 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 Parser |
createParser(File source)
Create parser to determine dependencies.
|
static GccCCompiler |
getCLangInstance()
Gets clang adapter
|
static GccCCompiler |
getCLangppInstance()
Gets clang++ adapter
|
static GccCCompiler |
getCppInstance()
Gets c++ adapter
|
File[] |
getEnvironmentIncludePath() |
static GccCCompiler |
getG77Instance()
Gets g77 adapter
|
static GccCCompiler |
getGFortranInstance()
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, compile, createConfiguration, getCommand, getCommandWithPath, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getOutputFileNames, getTotalArgumentLengthForInputFile, runCommand, setCommand
canParse, createConfiguration, getBaseOutputName, getOutputSuffix, parseIncludes, resolveInclude, setObjDir, setWorkDir
bid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
public static GccCCompiler getCLangInstance()
public static GccCCompiler getCLangppInstance()
public static GccCCompiler getCppInstance()
public static GccCCompiler getG77Instance()
public static GccCCompiler getGFortranInstance()
public static GccCCompiler getGppInstance()
public static GccCCompiler getInstance()
public void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
addImpliedArgs
in class GccCompatibleCCompiler
public Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment
in interface Processor
changeEnvironment
in class AbstractProcessor
protected Parser createParser(File source)
createParser
in class CommandLineCCompiler
public File[] getEnvironmentIncludePath()
getEnvironmentIncludePath
in class GccCompatibleCCompiler
public String getIdentifier() throws org.apache.tools.ant.BuildException
Processor
getIdentifier
in interface Processor
getIdentifier
in class CommandLineCompiler
org.apache.tools.ant.BuildException
public Linker getLinker(LinkType linkType)
Processor
public int getMaximumCommandLength()
getMaximumCommandLength
in class CommandLineCompiler
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.