|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.antcontrib.cpptasks.compiler.AbstractProcessor net.sf.antcontrib.cpptasks.compiler.AbstractCompiler net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler net.sf.antcontrib.cpptasks.gcc.GccCompatibleCCompiler net.sf.antcontrib.cpptasks.gcc.GccCCompiler
public final class GccCCompiler
Adapter for the GCC C/C++ compiler
Field Summary |
---|
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor |
---|
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID |
Method Summary | |
---|---|
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 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()
|
Methods inherited from class net.sf.antcontrib.cpptasks.gcc.GccCompatibleCCompiler |
---|
addIncludePath, addWarningSwitch, getDefineSwitch, getIncludeDirSwitch, getUndefineSwitch |
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler |
---|
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommand |
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler |
---|
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude |
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor |
---|
bid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.antcontrib.cpptasks.compiler.Processor |
---|
bid |
Method Detail |
---|
public 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 GccCompatibleCCompiler
public Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment
in interface Processor
changeEnvironment
in class AbstractProcessor
protected Parser createParser(java.io.File source)
createParser
in class CommandLineCCompiler
public java.io.File[] getEnvironmentIncludePath()
getEnvironmentIncludePath
in class GccCompatibleCCompiler
public java.lang.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |