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
|
addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addMap, addStack, createConfiguration, decorateLinkerOption, getCommand, getCommandWithPath, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, link, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand
addVersionFiles, bid, changeEnvironment, createConfiguration, getLibraryKey
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
public static C89Linker getInstance()
protected void addBase(long base, Vector args)
protected void addIncremental(boolean incremental, Vector args)
public String[] addLibrarySets(CCTask task, LibrarySet[] libsets, Vector preargs, Vector midargs, Vector endargs)
addLibrarySets
in class CommandLineLinker
protected void addMap(boolean map, Vector args)
protected void addStack(int stack, Vector args)
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 © 2002–2016 The Apache Software Foundation. All rights reserved.