public abstract class OpenWatcomLinker extends CommandLineLinker
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier | Constructor and Description |
---|---|
protected |
OpenWatcomLinker(String command,
String outputSuffix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addBase(long base,
Vector<String> args)
Add specified base address to linker options.
|
protected void |
addEntry(String entry,
Vector<String> args)
Adds non-default entry point.
|
protected void |
addFixed(Boolean fixed,
Vector<String> args)
Adds fixed option.
|
protected void |
addImpliedArgs(boolean debug,
LinkType linkType,
Vector<String> args)
Adds other command line parameters.
|
protected void |
addIncremental(boolean incremental,
Vector<String> args)
Add command line switch to force incremental linking.
|
protected void |
addMap(boolean map,
Vector<String> args)
Add command line switch to force map generation.
|
protected void |
addStack(int stack,
Vector<String> args)
Add command line switch for stack reservation.
|
void |
addVersionFiles(VersionInfo versionInfo,
LinkType linkType,
File outputFile,
boolean isDebug,
File objDir,
TargetMatcher matcher)
Adds source or object files to the bidded fileset to
support version information.
|
String |
getCommandFileSwitch(String commandFile)
Get command file switch.
|
File[] |
getLibraryPath()
Get search path for libraries.
|
String[] |
getLibraryPatterns(String[] libnames,
LibraryTypeEnum libType)
Get file selectors for libraries.
|
int |
getMaximumCommandLength()
Get maximum command line length.
|
String[] |
getOutputFileSwitch(String outFile)
Get output file switch.
|
boolean |
isCaseSensitive()
Gets file name sensitivity of processors.
|
addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addLibraryDirectory, addLibraryPath, addLibrarySets, addMap, addStack, createConfiguration, decorateLinkerOption, getCommand, getCommandWithPath, getIdentifier, getLibtoolLinker, getOutputFileNames, getOutputFileSwitch, getStartupObject, link, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand
bid, changeEnvironment, createConfiguration, getLibraryKey
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
protected final void addBase(long base, Vector<String> args)
base
- long base addressargs
- Vector command optionsprotected final void addEntry(String entry, Vector<String> args)
entry
- entry point nameargs
- command line parametersprotected final void addFixed(Boolean fixed, Vector<String> args)
fixed
- if executable is fixedargs
- command line parametersprotected final void addImpliedArgs(boolean debug, LinkType linkType, Vector<String> args)
debug
- boolean is debuglinkType
- LinkType link typeargs
- Vector command line argumentsprotected final void addIncremental(boolean incremental, Vector<String> args)
incremental
- boolean do incremental linkingargs
- Vector command line argumentsprotected final void addMap(boolean map, Vector<String> args)
map
- boolean build mapargs
- Vector command line argumentsprotected final void addStack(int stack, Vector<String> args)
stack
- int stack size.args
- Vector command line arguments.public final void addVersionFiles(VersionInfo versionInfo, LinkType linkType, File outputFile, boolean isDebug, File objDir, TargetMatcher matcher) throws IOException
addVersionFiles
in interface Linker
addVersionFiles
in class AbstractLinker
versionInfo
- version informationlinkType
- link typeisDebug
- true if debug buildoutputFile
- name of generated executableobjDir
- directory for generated filesmatcher
- bidded filesetIOException
- if unable to write version resourcepublic final String getCommandFileSwitch(String commandFile)
getCommandFileSwitch
in class CommandLineLinker
commandFile
- String command file namepublic final File[] getLibraryPath()
public final String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
libnames
- String[]libType
- LibraryTypeEnumpublic final int getMaximumCommandLength()
getMaximumCommandLength
in class CommandLineLinker
public final String[] getOutputFileSwitch(String outFile)
getOutputFileSwitch
in class CommandLineLinker
outFile
- Output file namepublic final boolean isCaseSensitive()
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.