public final class GccCCompiler extends GccCompatibleCCompiler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CMD_PREFIX |
private static GccCCompiler |
cppInstance |
private static GccCCompiler |
g77Instance |
private static GccCCompiler |
gppInstance |
private static java.lang.String[] |
headerExtensions |
private java.lang.String |
identifier |
private java.io.File[] |
includePath |
private static GccCCompiler |
instance |
private boolean |
isPICMeaningful |
private static java.lang.String[] |
sourceExtensions |
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID| Modifier | Constructor and Description |
|---|---|
private |
GccCCompiler(java.lang.String command,
java.lang.String[] sourceExtensions,
java.lang.String[] headerExtensions,
boolean isLibtool,
GccCCompiler libtoolCompiler,
boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
Private constructor.
|
| Modifier and Type | Method and 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 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() |
addIncludePath, addWarningSwitch, getDefineSwitch, getIncludeDirSwitch, getUndefineSwitchaddIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommandcanParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveIncludebid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toStringprivate static final java.lang.String[] sourceExtensions
private static final java.lang.String[] headerExtensions
public static final java.lang.String CMD_PREFIX
private static final GccCCompiler cppInstance
private static final GccCCompiler g77Instance
private static final GccCCompiler gppInstance
private static final GccCCompiler instance
private java.lang.String identifier
private java.io.File[] includePath
private boolean isPICMeaningful
private GccCCompiler(java.lang.String command,
java.lang.String[] sourceExtensions,
java.lang.String[] headerExtensions,
boolean isLibtool,
GccCCompiler libtoolCompiler,
boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
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 GccCompatibleCCompilerpublic Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment in interface ProcessorchangeEnvironment in class AbstractProcessorprotected 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 CommandLineCompiler