Class BorlandCCompiler
- All Implemented Interfaces:
Cloneable, Compiler, PrecompilingCompiler, Processor
Adapter for the Borland(r) C/C++ compiler.
- Author:
- Curt Arnold
-
Field Summary
Fields inherited from class AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) protected voidaddWarningSwitch(Vector args, int level) changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env) protected CompilerConfigurationcreatePrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude) protected CompilerConfigurationcreatePrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude, String[] exceptFiles) protected voidgetDefineSwitch(StringBuffer buffer, String define, String value) protected File[]protected StringgetIncludeDirSwitch(String includeDir) static BorlandCCompilerGets the linker that is associated with this processorsintprotected voidgetUndefineSwitch(StringBuffer buffer, String define) Methods inherited from class PrecompilingCommandLineCCompiler
createParserMethods inherited from class PrecompilingCommandLineCompiler
createPrecompileConfigurationsMethods inherited from class CommandLineCompiler
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommandMethods inherited from class AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveIncludeMethods inherited from class AbstractProcessor
bid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
-
Method Details
-
getInstance
-
addImpliedArgs
protected void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) - Specified by:
addImpliedArgsin classCommandLineCompiler
-
addWarningSwitch
- Specified by:
addWarningSwitchin classCommandLineCompiler
-
changeEnvironment
public Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env) - Specified by:
changeEnvironmentin interfaceProcessor- Overrides:
changeEnvironmentin classAbstractProcessor
-
createPrecompileGeneratingConfig
protected CompilerConfiguration createPrecompileGeneratingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude) - Specified by:
createPrecompileGeneratingConfigin classPrecompilingCommandLineCompiler
-
createPrecompileUsingConfig
protected CompilerConfiguration createPrecompileUsingConfig(CommandLineCompilerConfiguration baseConfig, File prototype, String lastInclude, String[] exceptFiles) - Specified by:
createPrecompileUsingConfigin classPrecompilingCommandLineCompiler
-
getDefineSwitch
- Specified by:
getDefineSwitchin classCommandLineCompiler
-
getEnvironmentIncludePath
- Specified by:
getEnvironmentIncludePathin classCommandLineCompiler
-
getIncludeDirSwitch
- Specified by:
getIncludeDirSwitchin classCommandLineCompiler
-
getLinker
-
getMaximumCommandLength
public int getMaximumCommandLength()- Specified by:
getMaximumCommandLengthin classCommandLineCompiler
-
getUndefineSwitch
- Specified by:
getUndefineSwitchin classCommandLineCompiler
-