Package net.sf.antcontrib.cpptasks.ti
Class ClxxCCompiler
- java.lang.Object
-
public class ClxxCCompiler extends CommandLineCCompiler
Adapter for TI DSP compilers with cl** commands
-
-
Field Summary
Fields Modifier and Type Field Description private static ClxxCCompilercl55Singleton for TMS320C55xprivate static ClxxCCompilercl6xSingleton for TMS320C6000private static java.lang.String[]headerExtensionsHeader file extensionsprivate static java.lang.String[]sourceExtensionsSource file extensions-
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
-
-
Constructor Summary
Constructors Modifier Constructor Description privateClxxCCompiler(java.lang.String command, boolean newEnvironment, org.apache.tools.ant.types.Environment env)Private constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)protected voidaddWarningSwitch(java.util.Vector args, int warnings)static ClxxCCompilergetCl55Instance()static ClxxCCompilergetCl6xInstance()protected voidgetDefineSwitch(java.lang.StringBuffer buffer, java.lang.String define, java.lang.String value)protected java.io.File[]getEnvironmentIncludePath()protected java.lang.StringgetIncludeDirSwitch(java.lang.String source)LinkergetLinker(LinkType type)Gets the linker that is associated with this processorsintgetMaximumCommandLength()protected voidgetUndefineSwitch(java.lang.StringBuffer buffer, java.lang.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 Detail
-
headerExtensions
private static final java.lang.String[] headerExtensions
Header file extensions
-
sourceExtensions
private static final java.lang.String[] sourceExtensions
Source file extensions
-
cl55
private static final ClxxCCompiler cl55
Singleton for TMS320C55x
-
cl6x
private static final ClxxCCompiler cl6x
Singleton for TMS320C6000
-
-
Method Detail
-
getCl55Instance
public static ClxxCCompiler getCl55Instance()
-
getCl6xInstance
public static ClxxCCompiler getCl6xInstance()
-
addImpliedArgs
protected void addImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)- Specified by:
addImpliedArgsin classCommandLineCompiler
-
addWarningSwitch
protected void addWarningSwitch(java.util.Vector args, int warnings)- Specified by:
addWarningSwitchin classCommandLineCompiler
-
getDefineSwitch
protected void getDefineSwitch(java.lang.StringBuffer buffer, java.lang.String define, java.lang.String value)- Specified by:
getDefineSwitchin classCommandLineCompiler
-
getEnvironmentIncludePath
protected java.io.File[] getEnvironmentIncludePath()
- Specified by:
getEnvironmentIncludePathin classCommandLineCompiler
-
getIncludeDirSwitch
protected java.lang.String getIncludeDirSwitch(java.lang.String source)
- Specified by:
getIncludeDirSwitchin classCommandLineCompiler
-
getLinker
public Linker getLinker(LinkType type)
Description copied from interface:ProcessorGets the linker that is associated with this processors
-
getMaximumCommandLength
public int getMaximumCommandLength()
- Specified by:
getMaximumCommandLengthin classCommandLineCompiler
-
getUndefineSwitch
protected void getUndefineSwitch(java.lang.StringBuffer buffer, java.lang.String define)- Specified by:
getUndefineSwitchin classCommandLineCompiler
-
-