public final class GccCCompiler extends GccCompatibleCCompiler
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID| Modifier and Type | Method | Description |
|---|---|---|
void |
addImpliedArgs(java.util.Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
java.lang.Boolean rtti,
OptimizationEnum optimization) |
|
Processor |
changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.Environment env) |
|
protected java.lang.Object |
clone() |
|
void |
compile(CCTask task,
java.io.File outputDir,
java.lang.String[] sourceFiles,
java.lang.String[] args,
java.lang.String[] endArgs,
boolean relentless,
CommandLineCompilerConfiguration config,
ProgressMonitor monitor) |
Compiles a source file.
|
protected Parser |
createParser(java.io.File source) |
Create parser to determine dependencies.
|
static GccCCompiler |
getCppInstance() |
Gets c++ adapter
|
java.io.File[] |
getEnvironmentIncludePath() |
|
static GccCCompiler |
getG77Instance() |
Gets g77 adapter
|
static GccCCompiler |
getGppInstance() |
Gets gpp adapter
|
java.lang.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() |
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveIncludebid, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toStringaddIncludes, buildDefineArguments, createConfiguration, getArgumentCountPerInputFile, getCommand, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommandaddIncludePath, addWarningSwitch, getDefineSwitch, getIncludeDirSwitch, getUndefineSwitchpublic static GccCCompiler getCppInstance()
public static GccCCompiler getG77Instance()
public static GccCCompiler getGppInstance()
public static GccCCompiler getInstance()
public void addImpliedArgs(java.util.Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
java.lang.Boolean rtti,
OptimizationEnum optimization)
addImpliedArgs in class GccCompatibleCCompilerpublic Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment in interface ProcessorchangeEnvironment in class AbstractProcessorprotected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class AbstractProcessorjava.lang.CloneNotSupportedExceptionpublic void compile(CCTask task, java.io.File outputDir, java.lang.String[] sourceFiles, java.lang.String[] args, java.lang.String[] endArgs, boolean relentless, CommandLineCompilerConfiguration config, ProgressMonitor monitor) throws org.apache.tools.ant.BuildException
CommandLineCompilercompile in class CommandLineCompilerorg.apache.tools.ant.BuildExceptionprotected Parser createParser(java.io.File source)
createParser in class CommandLineCCompilerpublic java.io.File[] getEnvironmentIncludePath()
getEnvironmentIncludePath in class GccCompatibleCCompilerpublic java.lang.String getIdentifier()
throws org.apache.tools.ant.BuildException
ProcessorgetIdentifier in interface ProcessorgetIdentifier in class CommandLineCompilerorg.apache.tools.ant.BuildExceptionpublic Linker getLinker(LinkType linkType)
Processorpublic int getMaximumCommandLength()
getMaximumCommandLength in class CommandLineCompilerCopyright ? 2001-2018 Ant-Contrib project. All Rights Reserved.