net.sf.antcontrib.cpptasks.openwatcom
public final class OpenWatcomLibrarian extends CommandLineLinker
| Method Summary | |
|---|---|
| protected void | addBase(long base, Vector args)
Add base address. |
| protected void | addEntry(String entry, Vector args)
Add alternative entry point. |
| protected void | addFixed(Boolean fixed, Vector args)
Add fixed parameter. |
| protected void | addImpliedArgs(boolean debug, LinkType linkType, Vector args)
Add implied arguments. |
| protected void | addIncremental(boolean incremental, Vector args)
Add incremental option. |
| protected void | addMap(boolean map, Vector args)
Add map option. |
| protected void | addStack(int stack, Vector args)
Add stack size option. |
| protected String | getCommandFileSwitch(String cmdFile)
Get command file switch. |
| static OpenWatcomLibrarian | getInstance()
Singleton accessor. |
| File[] | getLibraryPath()
Get library search path. |
| String[] | getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
Get file selectors for specified library names. |
| Linker | getLinker(LinkType type)
Get linker. |
| int | getMaximumCommandLength()
Gets maximum command line. |
| String[] | getOutputFileSwitch(String outFile)
Create output file switch. |
| boolean | isCaseSensitive()
Gets case-sensisitivity of processor. |
| void | link(CCTask task, File outputFile, String[] sourceFiles, CommandLineLinkerConfiguration config)
Builds a library. |
| protected String[] | prepareArguments(CCTask task, String outputDir, String outputName, String[] sourceFiles, CommandLineLinkerConfiguration config)
Prepares argument list for exec command. |
Parameters: base long base address args Vector command line arguments
Parameters: entry String entry point args Vector command line arguments
Parameters: fixed Boolean true if fixed args Vector command line arguments
Parameters: debug boolean true if debugging linkType LinkType link type args Vector command line arguments
Parameters: incremental boolean true if incremental args Vector command line arguments
Parameters: map boolean true to create map file args Vector command line argument
Parameters: stack int stack size args Vector command line arguments
Parameters: cmdFile String command file
Returns: String command file switch
Returns: OpenWatcomLibrarian librarian instance
Returns: File[] library search path
Parameters: libnames String[] library names libType LibraryTypeEnum library type enum
Returns: String[] file selection patterns
Parameters: type LinkType link type
Returns: Linker linker
Returns: int maximum command line
Parameters: outFile String output file switch
Returns: String[] output file switch
Returns: boolean true if case sensitive
Parameters: task task outputFile generated library sourceFiles object files config linker configuration
Parameters: task task outputDir output directory outputName output file name sourceFiles object files config linker configuration
Returns: arguments for runTask