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) |
String |
getIncludeDirSwitch(String includeDir,
boolean isSystem)
Added by Darren Sargent 22Oct2008 Returns the include dir switch value.
|
void |
getUndefineSwitch(StringBuffer buffer,
String define) |
createParseraddIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getCommandWithPath, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumCommandLength, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommandcanParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveIncludebid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbid, changeEnvironment, getLinkerprotected 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 CommandLineCompilerpublic void addIncludePath(String path, Vector cmd)
public void addWarningSwitch(Vector args, int level)
addWarningSwitch in class CommandLineCompilerpublic void getDefineSwitch(StringBuffer buffer, String define, String value)
getDefineSwitch in class CommandLineCompilerprotected File[] getEnvironmentIncludePath()
getEnvironmentIncludePath in class CommandLineCompilerpublic String getIncludeDirSwitch(String includeDir)
getIncludeDirSwitch in class CommandLineCompilerpublic String getIncludeDirSwitch(String includeDir, boolean isSystem)
CommandLineCompilergetIncludeDirSwitch in class CommandLineCompilerincludeDir - the given source value.isSystem - "true" if this is a system include pathpublic void getUndefineSwitch(StringBuffer buffer, String define)
getUndefineSwitch in class CommandLineCompilerCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.