public final class OS390Linker 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) |
protected 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 OS390Linker |
getDataSetInstance() |
static OS390Linker |
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
|
protected String[] |
getOutputFileSwitch(CCTask task,
String outputFile) |
String[] |
getOutputFileSwitch(String outputFile) |
boolean |
isCaseSensitive()
Returns true if the linker is case-sensitive
|
void |
link(CCTask task,
File outputFile,
String[] sourceFiles,
CommandLineLinkerConfiguration config)
Performs a link using a command line linker
|
protected int |
runCommand(CCTask task,
File workingDir,
String[] cmdline)
This method is exposed so test classes can overload
and test the arguments without actually spawning the
compiler
|
addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addMap, addStack, createConfiguration, decorateLinkerOption, getCommand, getCommandWithPath, getIdentifier, getLibtoolLinker, getStartupObject, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, setCommand
addVersionFiles, bid, changeEnvironment, createConfiguration, getLibraryKey
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
public static OS390Linker getDataSetInstance()
public static OS390Linker getInstance()
protected void addBase(long base, Vector args)
protected void addIncremental(boolean incremental, Vector args)
protected 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 fileprotected String[] getOutputFileSwitch(CCTask task, String outputFile)
getOutputFileSwitch
in class CommandLineLinker
public String[] getOutputFileSwitch(String outputFile)
getOutputFileSwitch
in class CommandLineLinker
public boolean isCaseSensitive()
Linker
public void link(CCTask task, File outputFile, String[] sourceFiles, CommandLineLinkerConfiguration config) throws org.apache.tools.ant.BuildException
CommandLineLinker
link
in class CommandLineLinker
org.apache.tools.ant.BuildException
protected int runCommand(CCTask task, File workingDir, String[] cmdline) throws org.apache.tools.ant.BuildException
CommandLineLinker
runCommand
in class CommandLineLinker
org.apache.tools.ant.BuildException
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.