Package net.sf.antcontrib.cpptasks.ti
Class ClxxCCompiler
Adapter for TI DSP compilers with cl** commands
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ClxxCCompilerSingleton for TMS320C55xprivate static final ClxxCCompilerSingleton 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
ConstructorsModifierConstructorDescriptionprivateClxxCCompiler(String command, boolean newEnvironment, org.apache.tools.ant.types.Environment env) Private constructor -
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 warnings) static ClxxCCompilerstatic ClxxCCompilerprotected voidgetDefineSwitch(StringBuffer buffer, String define, String value) protected File[]protected StringgetIncludeDirSwitch(String source) Gets the linker that is associated with this processorsintprotected voidgetUndefineSwitch(StringBuffer buffer, String define) Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler
createParserMethods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommandMethods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveIncludeMethods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
addImpliedArgsin classCommandLineCompiler
-
addWarningSwitch
- Specified by:
addWarningSwitchin classCommandLineCompiler
-
getDefineSwitch
- Specified by:
getDefineSwitchin classCommandLineCompiler
-
getEnvironmentIncludePath
- Specified by:
getEnvironmentIncludePathin classCommandLineCompiler
-
getIncludeDirSwitch
- Specified by:
getIncludeDirSwitchin classCommandLineCompiler
-
getLinker
Description copied from interface:ProcessorGets the linker that is associated with this processors -
getMaximumCommandLength
public int getMaximumCommandLength()- Specified by:
getMaximumCommandLengthin classCommandLineCompiler
-
getUndefineSwitch
- Specified by:
getUndefineSwitchin classCommandLineCompiler
-