Package net.sf.antcontrib.cpptasks.ti
Class ClxxCCompiler
Adapter for TI DSP compilers with cl** commands
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ClxxCCompiler
Singleton for TMS320C55xprivate static final ClxxCCompiler
Singleton for TMS320C6000private static final String[]
Header file extensionsprivate static final String[]
Source file extensionsFields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ClxxCCompiler
(String command, boolean newEnvironment, org.apache.tools.ant.types.Environment env) Private constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addImpliedArgs
(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) protected void
addWarningSwitch
(Vector args, int warnings) static ClxxCCompiler
static ClxxCCompiler
protected void
getDefineSwitch
(StringBuffer buffer, String define, String value) protected File[]
protected String
getIncludeDirSwitch
(String source) Gets the linker that is associated with this processorsint
protected void
getUndefineSwitch
(StringBuffer buffer, String define) Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler
createParser
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommand
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.sf.antcontrib.cpptasks.compiler.Processor
bid, changeEnvironment
-
Field Details
-
headerExtensions
Header file extensions -
sourceExtensions
Source file extensions -
cl55
Singleton for TMS320C55x -
cl6x
Singleton for TMS320C6000
-
-
Constructor Details
-
ClxxCCompiler
private ClxxCCompiler(String command, boolean newEnvironment, org.apache.tools.ant.types.Environment env) Private constructor- Parameters:
command
- executable namenewEnvironment
- Change environmentenv
- New environment
-
-
Method Details
-
getCl55Instance
-
getCl6xInstance
-
addImpliedArgs
protected void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) - Specified by:
addImpliedArgs
in classCommandLineCompiler
-
addWarningSwitch
- Specified by:
addWarningSwitch
in classCommandLineCompiler
-
getDefineSwitch
- Specified by:
getDefineSwitch
in classCommandLineCompiler
-
getEnvironmentIncludePath
- Specified by:
getEnvironmentIncludePath
in classCommandLineCompiler
-
getIncludeDirSwitch
- Specified by:
getIncludeDirSwitch
in classCommandLineCompiler
-
getLinker
Description copied from interface:Processor
Gets the linker that is associated with this processors -
getMaximumCommandLength
public int getMaximumCommandLength()- Specified by:
getMaximumCommandLength
in classCommandLineCompiler
-
getUndefineSwitch
- Specified by:
getUndefineSwitch
in classCommandLineCompiler
-