public abstract class GccCompatibleCCompiler extends CommandLineCCompiler
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier | Constructor and Description |
---|---|
protected |
GccCompatibleCCompiler(String command,
String identifierArg,
boolean libtool,
GccCompatibleCCompiler libtoolCompiler,
boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
Private constructor.
|
protected |
GccCompatibleCCompiler(String command,
String identifierArg,
String[] sourceExtensions,
String[] headerExtensions,
boolean libtool,
GccCompatibleCCompiler libtoolCompiler,
boolean newEnvironment,
org.apache.tools.ant.types.Environment env)
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addImpliedArgs(Vector args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization) |
void |
addIncludePath(String path,
Vector cmd)
Adds an include path to the command.
|
void |
addWarningSwitch(Vector args,
int level) |
void |
getDefineSwitch(StringBuffer buffer,
String define,
String value) |
protected File[] |
getEnvironmentIncludePath() |
String |
getIncludeDirSwitch(String includeDir) |
void |
getUndefineSwitch(StringBuffer buffer,
String define) |
createParser
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumCommandLength, 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, getLinker
protected GccCompatibleCCompiler(String command, String identifierArg, boolean libtool, GccCompatibleCCompiler libtoolCompiler, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
protected GccCompatibleCCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, boolean libtool, GccCompatibleCCompiler libtoolCompiler, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
public void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
addImpliedArgs
in class CommandLineCompiler
public void addIncludePath(String path, Vector cmd)
public void addWarningSwitch(Vector args, int level)
addWarningSwitch
in class CommandLineCompiler
public void getDefineSwitch(StringBuffer buffer, String define, String value)
getDefineSwitch
in class CommandLineCompiler
protected File[] getEnvironmentIncludePath()
getEnvironmentIncludePath
in class CommandLineCompiler
public String getIncludeDirSwitch(String includeDir)
getIncludeDirSwitch
in class CommandLineCompiler
public void getUndefineSwitch(StringBuffer buffer, String define)
getUndefineSwitch
in class CommandLineCompiler
Copyright © 2001–2015 Ant-Contrib Project. All rights reserved.