Adapter for the OpenWatcom linker.
addBase
protected final void addBase(long base,
Vector args)
Add specified base address to linker options.
- addBase in interface CommandLineLinker
base
- long base addressargs
- Vector command options
addEntry
protected final void addEntry(String entry,
Vector args)
Adds non-default entry point.
- addEntry in interface CommandLineLinker
entry
- entry point nameargs
- command line parameters
addFixed
protected final void addFixed(Boolean fixed,
Vector args)
Adds fixed option.
- addFixed in interface CommandLineLinker
fixed
- if executable is fixedargs
- command line parameters
addImpliedArgs
protected final void addImpliedArgs(boolean debug,
LinkType linkType,
Vector args)
Adds other command line parameters.
- addImpliedArgs in interface CommandLineLinker
debug
- boolean is debuglinkType
- LinkType link typeargs
- Vector command line arguments
addIncremental
protected final void addIncremental(boolean incremental,
Vector args)
Add command line switch to force incremental linking.
- addIncremental in interface CommandLineLinker
incremental
- boolean do incremental linkingargs
- Vector command line arguments
addMap
protected final void addMap(boolean map,
Vector args)
Add command line switch to force map generation.
- addMap in interface CommandLineLinker
map
- boolean build mapargs
- Vector command line arguments
addStack
protected final void addStack(int stack,
Vector args)
Add command line switch for stack reservation.
- addStack in interface CommandLineLinker
stack
- int stack size.args
- Vector command line arguments.
addVersionFiles
public final void addVersionFiles(VersionInfo versionInfo,
LinkType linkType,
File outputFile,
boolean isDebug,
File objDir,
TargetMatcher matcher)
throws IOException
Adds source or object files to the bidded fileset to
support version information.
- addVersionFiles in interface Linker
- addVersionFiles in interface AbstractLinker
versionInfo
- version informationlinkType
- link typeoutputFile
- name of generated executableisDebug
- true if debug buildobjDir
- directory for generated filesmatcher
- bidded fileset
getCommandFileSwitch
public final String getCommandFileSwitch(String commandFile)
Get command file switch.
- getCommandFileSwitch in interface CommandLineLinker
commandFile
- String command file name
- String command line option
getLibraryPath
public final File[] getLibraryPath()
Get search path for libraries.
- getLibraryPath in interface Linker
getLibraryPatterns
public final String[] getLibraryPatterns(String[] libnames,
LibraryTypeEnum libType)
Get file selectors for libraries.
- getLibraryPatterns in interface Linker
libnames
- String[]libType
- LibraryTypeEnum
getOutputFileSwitch
public final String[] getOutputFileSwitch(String outFile)
Get output file switch.
- getOutputFileSwitch in interface CommandLineLinker
outFile
- Output file name
- String[] command line switches
isCaseSensitive
public final boolean isCaseSensitive()
Gets file name sensitivity of processors.
- isCaseSensitive in interface Linker
- boolean true if case sensitive.