public final class OpenWatcomCCompiler extends OpenWatcomCompiler
Modifier and Type | Field and Description |
---|---|
private static OpenWatcomCCompiler |
INSTANCE
Singleton.
|
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier | Constructor and Description |
---|---|
private |
OpenWatcomCCompiler(java.lang.String command,
boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Parser |
createParser(java.io.File source)
Create parser.
|
static OpenWatcomCCompiler |
getInstance()
Get compiler.
|
Linker |
getLinker(LinkType type)
Get linker.
|
addImpliedArgs, addWarningSwitch, changeEnvironment, getDefineSwitch, getEnvironmentIncludePath, getIncludeDirSwitch, getMaximumCommandLength, getUndefineSwitch
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 OpenWatcomCCompiler INSTANCE
private OpenWatcomCCompiler(java.lang.String command, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
command
- String commandnewEnvironment
- boolean use new environmentenv
- Environment environmentpublic static OpenWatcomCCompiler getInstance()
public Parser createParser(java.io.File source)
createParser
in class AbstractCompiler
source
- File file to be parsed.