Package net.sf.antcontrib.cpptasks.ti
Class ClxxLinker
- java.lang.Object
-
- net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
-
- net.sf.antcontrib.cpptasks.compiler.AbstractLinker
-
- net.sf.antcontrib.cpptasks.compiler.CommandLineLinker
-
- net.sf.antcontrib.cpptasks.ti.ClxxLinker
-
public class ClxxLinker extends CommandLineLinker
Adapter for TI DSP linkers *
-
-
Field Summary
Fields Modifier and Type Field Description private static ClxxLinker
cl55DllInstance
private static ClxxLinker
cl55Instance
private static ClxxLinker
cl6xDllInstance
private static ClxxLinker
cl6xInstance
-
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ClxxLinker(java.lang.String command, java.lang.String outputSuffix)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addBase(long base, java.util.Vector args)
protected void
addEntry(java.lang.String entry, java.util.Vector args)
protected void
addFixed(java.lang.Boolean fixed, java.util.Vector args)
protected void
addImpliedArgs(boolean debug, LinkType linkType, java.util.Vector args)
protected void
addIncremental(boolean incremental, java.util.Vector args)
protected void
addMap(boolean map, java.util.Vector args)
protected void
addStack(int stack, java.util.Vector args)
static ClxxLinker
getCl55DllInstance()
static ClxxLinker
getCl55Instance()
static ClxxLinker
getCl6xDllInstance()
static ClxxLinker
getCl6xInstance()
protected java.lang.String
getCommandFileSwitch(java.lang.String commandFile)
java.io.File[]
getLibraryPath()
returns the library path for the linkerjava.lang.String[]
getLibraryPatterns(java.lang.String[] libnames, LibraryTypeEnum libType)
Returns a set of filename patterns corresponding to library names.Linker
getLinker(LinkType linkType)
Gets the linker for the specified link type.protected int
getMaximumCommandLength()
protected java.lang.String[]
getOutputFileSwitch(java.lang.String outputFile)
boolean
isCaseSensitive()
Returns true if the linker is case-sensitive-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineLinker
addLibrarySets, createConfiguration, decorateLinkerOption, getCommand, getIdentifier, getLibtoolLinker, getOutputFileNames, getOutputFileSwitch, getStartupObject, link, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractLinker
addVersionFiles, bid, changeEnvironment, createConfiguration, getLibraryKey
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
-
-
-
-
Field Detail
-
cl55DllInstance
private static final ClxxLinker cl55DllInstance
-
cl55Instance
private static final ClxxLinker cl55Instance
-
cl6xDllInstance
private static final ClxxLinker cl6xDllInstance
-
cl6xInstance
private static final ClxxLinker cl6xInstance
-
-
Method Detail
-
getCl55DllInstance
public static ClxxLinker getCl55DllInstance()
-
getCl55Instance
public static ClxxLinker getCl55Instance()
-
getCl6xDllInstance
public static ClxxLinker getCl6xDllInstance()
-
getCl6xInstance
public static ClxxLinker getCl6xInstance()
-
addBase
protected void addBase(long base, java.util.Vector args)
- Specified by:
addBase
in classCommandLineLinker
-
addFixed
protected void addFixed(java.lang.Boolean fixed, java.util.Vector args)
- Specified by:
addFixed
in classCommandLineLinker
-
addImpliedArgs
protected void addImpliedArgs(boolean debug, LinkType linkType, java.util.Vector args)
- Specified by:
addImpliedArgs
in classCommandLineLinker
-
addIncremental
protected void addIncremental(boolean incremental, java.util.Vector args)
- Specified by:
addIncremental
in classCommandLineLinker
-
addMap
protected void addMap(boolean map, java.util.Vector args)
- Specified by:
addMap
in classCommandLineLinker
-
addStack
protected void addStack(int stack, java.util.Vector args)
- Specified by:
addStack
in classCommandLineLinker
-
addEntry
protected void addEntry(java.lang.String entry, java.util.Vector args)
- Specified by:
addEntry
in classCommandLineLinker
-
getCommandFileSwitch
protected java.lang.String getCommandFileSwitch(java.lang.String commandFile)
- Specified by:
getCommandFileSwitch
in classCommandLineLinker
-
getLibraryPath
public java.io.File[] getLibraryPath()
Description copied from interface:Linker
returns the library path for the linker
-
getLibraryPatterns
public java.lang.String[] getLibraryPatterns(java.lang.String[] libnames, LibraryTypeEnum libType)
Description copied from interface:Linker
Returns a set of filename patterns corresponding to library names. For example, "advapi32" would be expanded to "advapi32.dll" by DevStudioLinker and to "libadvapi32.a" and "libadvapi32.so" by GccLinker.- Parameters:
libnames
- array of library names
-
getLinker
public Linker getLinker(LinkType linkType)
Description copied from interface:Linker
Gets the linker for the specified link type.- Returns:
- appropriate linker or null, will return this if this linker can handle the specified link type
-
getMaximumCommandLength
protected int getMaximumCommandLength()
- Specified by:
getMaximumCommandLength
in classCommandLineLinker
-
getOutputFileSwitch
protected java.lang.String[] getOutputFileSwitch(java.lang.String outputFile)
- Specified by:
getOutputFileSwitch
in classCommandLineLinker
-
isCaseSensitive
public boolean isCaseSensitive()
Description copied from interface:Linker
Returns true if the linker is case-sensitive
-
-