|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.sun.C89Linker
public final class C89Linker
Adapter for the Sun C89 Linker
Field Summary |
---|
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor |
---|
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID |
Method Summary | |
---|---|
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)
|
java.lang.String[] |
addLibrarySets(CCTask task,
LibrarySet[] libsets,
java.util.Vector preargs,
java.util.Vector midargs,
java.util.Vector endargs)
|
protected void |
addMap(boolean map,
java.util.Vector args)
|
protected void |
addStack(int stack,
java.util.Vector args)
|
java.lang.String |
getCommandFileSwitch(java.lang.String commandFile)
|
static C89Linker |
getInstance()
|
java.io.File[] |
getLibraryPath()
returns the library path for the linker |
java.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. |
int |
getMaximumCommandLength()
|
java.lang.String[] |
getOutputFileNames(java.lang.String baseName,
VersionInfo versionInfo)
Output file name (no path components) corresponding to source file |
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 |
---|
createConfiguration, decorateLinkerOption, getCommand, getIdentifier, getLibtoolLinker, 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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static C89Linker getInstance()
protected void addBase(long base, java.util.Vector args)
addBase
in class CommandLineLinker
protected void addFixed(java.lang.Boolean fixed, java.util.Vector args)
addFixed
in class CommandLineLinker
protected void addImpliedArgs(boolean debug, LinkType linkType, java.util.Vector args)
addImpliedArgs
in class CommandLineLinker
protected void addIncremental(boolean incremental, java.util.Vector args)
addIncremental
in class CommandLineLinker
public java.lang.String[] addLibrarySets(CCTask task, LibrarySet[] libsets, java.util.Vector preargs, java.util.Vector midargs, java.util.Vector endargs)
addLibrarySets
in class CommandLineLinker
protected void addMap(boolean map, java.util.Vector args)
addMap
in class CommandLineLinker
protected void addStack(int stack, java.util.Vector args)
addStack
in class CommandLineLinker
protected void addEntry(java.lang.String entry, java.util.Vector args)
addEntry
in class CommandLineLinker
public java.lang.String getCommandFileSwitch(java.lang.String commandFile)
getCommandFileSwitch
in class CommandLineLinker
public java.io.File[] getLibraryPath()
Linker
public java.lang.String[] getLibraryPatterns(java.lang.String[] libnames, LibraryTypeEnum libType)
Linker
libnames
- array of library namespublic Linker getLinker(LinkType linkType)
Linker
public int getMaximumCommandLength()
getMaximumCommandLength
in class CommandLineLinker
public java.lang.String[] getOutputFileNames(java.lang.String baseName, VersionInfo versionInfo)
Processor
getOutputFileNames
in interface Processor
getOutputFileNames
in class CommandLineLinker
baseName
- input file
public java.lang.String[] getOutputFileSwitch(java.lang.String outputFile)
getOutputFileSwitch
in class CommandLineLinker
public boolean isCaseSensitive()
Linker
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |