Adapter for the OpenWatcom Librarian.
addBase
protected void addBase(long base,
Vector args) Add base address.
- addBase in interface CommandLineLinker
base - long base addressargs - Vector command line arguments
addEntry
protected void addEntry(String entry,
Vector args) Add alternative entry point.
- addEntry in interface CommandLineLinker
entry - String entry pointargs - Vector command line arguments
addFixed
protected void addFixed(Boolean fixed,
Vector args) Add fixed parameter.
- addFixed in interface CommandLineLinker
fixed - Boolean true if fixedargs - Vector command line arguments
addImpliedArgs
protected void addImpliedArgs(boolean debug,
LinkType linkType,
Vector args) Add implied arguments.
- addImpliedArgs in interface CommandLineLinker
debug - boolean true if debugginglinkType - LinkType link typeargs - Vector command line arguments
addIncremental
protected void addIncremental(boolean incremental,
Vector args) Add incremental option.
- addIncremental in interface CommandLineLinker
incremental - boolean true if incrementalargs - Vector command line arguments
addMap
protected void addMap(boolean map,
Vector args) Add map option.
- addMap in interface CommandLineLinker
map - boolean true to create map fileargs - Vector command line argument
addStack
protected void addStack(int stack,
Vector args) Add stack size option.
- addStack in interface CommandLineLinker
stack - int stack sizeargs - Vector command line arguments
getCommandFileSwitch
protected String getCommandFileSwitch(String cmdFile)
Get command file switch.
- getCommandFileSwitch in interface CommandLineLinker
cmdFile - String command file
- String command file switch
getInstance
public static OpenWatcomLibrarian getInstance()
Singleton accessor.
- OpenWatcomLibrarian librarian instance
getLibraryPath
public File[] getLibraryPath()
Get library search path.
- getLibraryPath in interface Linker
- File[] library search path
getLibraryPatterns
public String[] getLibraryPatterns(String[] libnames,
LibraryTypeEnum libType) Get file selectors for specified library names.
- getLibraryPatterns in interface Linker
libnames - String[] library nameslibType - LibraryTypeEnum library type enum
- String[] file selection patterns
getOutputFileSwitch
public String[] getOutputFileSwitch(String outFile)
Create output file switch.
- getOutputFileSwitch in interface CommandLineLinker
outFile - String output file switch
- String[] output file switch
isCaseSensitive
public boolean isCaseSensitive()
Gets case-sensisitivity of processor.
- isCaseSensitive in interface Linker
- boolean true if case sensitive
prepareArguments
protected String[] prepareArguments(CCTask task,
String outputDir,
String outputName,
String[] sourceFiles,
CommandLineLinkerConfiguration config) Prepares argument list for exec command.
- prepareArguments in interface CommandLineLinker
task - taskoutputDir - output directoryoutputName - output file namesourceFiles - object filesconfig - linker configuration