public class BorlandCCompiler extends PrecompilingCommandLineCCompiler
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
headerExtensions |
private static BorlandCCompiler |
instance |
private static java.lang.String[] |
sourceExtensions |
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier | Constructor and Description |
---|---|
private |
BorlandCCompiler(boolean newEnvironment,
org.apache.tools.ant.types.Environment env) |
Modifier and Type | Method and Description |
---|---|
protected void |
addImpliedArgs(java.util.Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
java.lang.Boolean rtti,
OptimizationEnum optimization) |
protected void |
addWarningSwitch(java.util.Vector args,
int level) |
Processor |
changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.Environment env) |
protected CompilerConfiguration |
createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig,
java.io.File prototype,
java.lang.String lastInclude) |
protected CompilerConfiguration |
createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig,
java.io.File prototype,
java.lang.String lastInclude,
java.lang.String[] exceptFiles) |
protected void |
getDefineSwitch(java.lang.StringBuffer buffer,
java.lang.String define,
java.lang.String value) |
protected java.io.File[] |
getEnvironmentIncludePath() |
protected java.lang.String |
getIncludeDirSwitch(java.lang.String includeDir) |
static BorlandCCompiler |
getInstance() |
Linker |
getLinker(LinkType type)
Gets the linker that is associated with this processors
|
int |
getMaximumCommandLength() |
protected void |
getUndefineSwitch(java.lang.StringBuffer buffer,
java.lang.String define) |
createParser
createPrecompileConfigurations
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommand
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude
bid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
private static final java.lang.String[] headerExtensions
private static final java.lang.String[] sourceExtensions
private static final BorlandCCompiler instance
private BorlandCCompiler(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
public static BorlandCCompiler getInstance()
protected void addImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)
addImpliedArgs
in class CommandLineCompiler
protected void addWarningSwitch(java.util.Vector args, int level)
addWarningSwitch
in class CommandLineCompiler
public Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment
in interface Processor
changeEnvironment
in class AbstractProcessor
protected CompilerConfiguration createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig, java.io.File prototype, java.lang.String lastInclude)
createPrecompileGeneratingConfig
in class PrecompilingCommandLineCompiler
protected CompilerConfiguration createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig, java.io.File prototype, java.lang.String lastInclude, java.lang.String[] exceptFiles)
createPrecompileUsingConfig
in class PrecompilingCommandLineCompiler
protected void getDefineSwitch(java.lang.StringBuffer buffer, java.lang.String define, java.lang.String value)
getDefineSwitch
in class CommandLineCompiler
protected java.io.File[] getEnvironmentIncludePath()
getEnvironmentIncludePath
in class CommandLineCompiler
protected java.lang.String getIncludeDirSwitch(java.lang.String includeDir)
getIncludeDirSwitch
in class CommandLineCompiler
public Linker getLinker(LinkType type)
Processor
public int getMaximumCommandLength()
getMaximumCommandLength
in class CommandLineCompiler
protected void getUndefineSwitch(java.lang.StringBuffer buffer, java.lang.String define)
getUndefineSwitch
in class CommandLineCompiler