public final class C89Linker extends CommandLineLinker
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier and Type | Method and Description |
---|---|
protected void |
addBase(long base,
Vector args) |
protected void |
addEntry(String entry,
Vector args) |
protected void |
addFixed(Boolean fixed,
Vector args) |
protected void |
addImpliedArgs(boolean debug,
LinkType linkType,
Vector args) |
protected void |
addIncremental(boolean incremental,
Vector args) |
String[] |
addLibrarySets(CCTask task,
LibrarySet[] libsets,
Vector preargs,
Vector midargs,
Vector endargs) |
protected void |
addMap(boolean map,
Vector args) |
protected void |
addStack(int stack,
Vector args) |
String |
getCommandFileSwitch(String commandFile) |
static C89Linker |
getInstance() |
File[] |
getLibraryPath()
returns the library path for the linker
|
String[] |
getLibraryPatterns(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() |
String[] |
getOutputFileNames(String baseName,
VersionInfo versionInfo)
Output file name (no path components) corresponding to source file
|
String[] |
getOutputFileSwitch(String outputFile) |
boolean |
isCaseSensitive()
Returns true if the linker is case-sensitive
|
createConfiguration, decorateLinkerOption, getCommand, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, link, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand
addVersionFiles, bid, changeEnvironment, createConfiguration, getLibraryKey
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
public static C89Linker getInstance()
protected void addBase(long base, Vector args)
addBase
in class CommandLineLinker
protected void addFixed(Boolean fixed, Vector args)
addFixed
in class CommandLineLinker
protected void addImpliedArgs(boolean debug, LinkType linkType, Vector args)
addImpliedArgs
in class CommandLineLinker
protected void addIncremental(boolean incremental, Vector args)
addIncremental
in class CommandLineLinker
public String[] addLibrarySets(CCTask task, LibrarySet[] libsets, Vector preargs, Vector midargs, Vector endargs)
addLibrarySets
in class CommandLineLinker
protected void addMap(boolean map, Vector args)
addMap
in class CommandLineLinker
protected void addStack(int stack, Vector args)
addStack
in class CommandLineLinker
protected void addEntry(String entry, Vector args)
addEntry
in class CommandLineLinker
public String getCommandFileSwitch(String commandFile)
getCommandFileSwitch
in class CommandLineLinker
public File[] getLibraryPath()
Linker
public String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
Linker
libnames
- array of library namespublic Linker getLinker(LinkType linkType)
Linker
public int getMaximumCommandLength()
getMaximumCommandLength
in class CommandLineLinker
public String[] getOutputFileNames(String baseName, VersionInfo versionInfo)
Processor
getOutputFileNames
in interface Processor
getOutputFileNames
in class CommandLineLinker
baseName
- input filepublic String[] getOutputFileSwitch(String outputFile)
getOutputFileSwitch
in class CommandLineLinker
public boolean isCaseSensitive()
Linker
Copyright © 2001–2018 Ant-Contrib Project. All rights reserved.