net.sf.antcontrib.cpptasks.borland
public class BorlandLibrarian extends CommandLineLinker
| Method Summary | |
|---|---|
| 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 void | addMap(boolean map, Vector args) |
| protected void | addStack(int stack, Vector args) |
| protected String | getCommandFileSwitch(String cmdFile) |
| String | getIdentifier()
Gets identifier for the linker.
|
| static BorlandLibrarian | getInstance() |
| File[] | getLibraryPath() |
| String[] | getLibraryPatterns(String[] libnames, LibraryTypeEnum libType) |
| Linker | getLinker(LinkType type) |
| int | getMaximumCommandLength() |
| String[] | getOutputFileSwitch(String outFile) |
| boolean | isCaseSensitive() |
| 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.
|
| protected String[] | prepareResponseFile(File outputFile, String[] args)
Prepares argument list to execute the linker using a response file.
|
| protected String | quoteFilename(StringBuffer buf, String filename)
Encloses problematic file names within quotes. |
Parameters: outputDir linker output directory outputName linker output name sourceFiles linker input files (.obj, .o, .res) config linker configuration
Returns: arguments for runTask
Parameters: outputFile linker output file args output of prepareArguments
Returns: arguments for runTask
Parameters: buf string buffer filename source file name
Returns: filename potentially enclosed in quotes.