public final class ForteCCCompiler extends GccCompatibleCCompiler
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
headerExtensions |
private java.lang.String |
identifier |
private java.io.File[] |
includePath |
private static ForteCCCompiler |
instance |
private static java.lang.String[] |
sourceExtensions |
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier | Constructor and Description |
---|---|
private |
ForteCCCompiler(java.lang.String command,
java.lang.String[] sourceExtensions,
java.lang.String[] headerExtensions)
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) |
void |
addWarningSwitch(java.util.Vector args,
int level) |
java.io.File[] |
getEnvironmentIncludePath() |
static ForteCCCompiler |
getInstance()
Gets singleton instance of this class
|
Linker |
getLinker(LinkType linkType)
Gets the linker that is associated with this processors
|
int |
getMaximumCommandLength() |
addIncludePath, getDefineSwitch, getIncludeDirSwitch, getUndefineSwitch
createParser
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommand
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude
bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bid, changeEnvironment
private static final java.lang.String[] headerExtensions
private static final java.lang.String[] sourceExtensions
private static final ForteCCCompiler instance
private java.lang.String identifier
private java.io.File[] includePath
private ForteCCCompiler(java.lang.String command, java.lang.String[] sourceExtensions, java.lang.String[] headerExtensions)
public static ForteCCCompiler 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 void addWarningSwitch(java.util.Vector args, int level)
addWarningSwitch
in class GccCompatibleCCompiler
public java.io.File[] getEnvironmentIncludePath()
getEnvironmentIncludePath
in class GccCompatibleCCompiler
public Linker getLinker(LinkType linkType)
Processor
public int getMaximumCommandLength()
getMaximumCommandLength
in class CommandLineCompiler