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
|
createConfiguration, decorateLinkerOption, getCommand, getIdentifier, getLibtoolLinker, getStartupObject, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, setCommandaddVersionFiles, bid, changeEnvironment, createConfiguration, getLibraryKeyclone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toStringpublic static OS390Linker getDataSetInstance()
public static OS390Linker getInstance()
protected void addBase(long base,
Vector args)
addBase in class CommandLineLinkerprotected void addFixed(Boolean fixed, Vector args)
addFixed in class CommandLineLinkerprotected void addImpliedArgs(boolean debug,
LinkType linkType,
Vector args)
addImpliedArgs in class CommandLineLinkerprotected void addIncremental(boolean incremental,
Vector args)
addIncremental in class CommandLineLinkerprotected String[] addLibrarySets(CCTask task, LibrarySet[] libsets, Vector preargs, Vector midargs, Vector endargs)
addLibrarySets in class CommandLineLinkerprotected void addMap(boolean map,
Vector args)
addMap in class CommandLineLinkerprotected void addStack(int stack,
Vector args)
addStack in class CommandLineLinkerprotected void addEntry(String entry, Vector args)
addEntry in class CommandLineLinkerpublic String getCommandFileSwitch(String commandFile)
getCommandFileSwitch in class CommandLineLinkerpublic File[] getLibraryPath()
Linkerpublic String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
Linkerlibnames - array of library namespublic Linker getLinker(LinkType linkType)
Linkerpublic int getMaximumCommandLength()
getMaximumCommandLength in class CommandLineLinkerpublic String[] getOutputFileNames(String baseName, VersionInfo versionInfo)
ProcessorgetOutputFileNames in interface ProcessorgetOutputFileNames in class CommandLineLinkerbaseName - input fileprotected String[] getOutputFileSwitch(CCTask task, String outputFile)
getOutputFileSwitch in class CommandLineLinkerpublic String[] getOutputFileSwitch(String outputFile)
getOutputFileSwitch in class CommandLineLinkerpublic boolean isCaseSensitive()
Linkerpublic void link(CCTask task, File outputFile, String[] sourceFiles, CommandLineLinkerConfiguration config) throws org.apache.tools.ant.BuildException
CommandLineLinkerlink in class CommandLineLinkerorg.apache.tools.ant.BuildExceptionprotected int runCommand(CCTask task, File workingDir, String[] cmdline) throws org.apache.tools.ant.BuildException
CommandLineLinkerrunCommand in class CommandLineLinkerorg.apache.tools.ant.BuildExceptionCopyright © 2001–2025 Ant-Contrib Project. All rights reserved.