Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
net.sf.antcontrib.cpptasks.compiler.AbstractLinker
net.sf.antcontrib.cpptasks.compiler.CommandLineLinker
net.sf.antcontrib.cpptasks.borland.BorlandLinker
public final class BorlandLinker
extends CommandLineLinker
Field Summary |
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor | |
DEFAULT_DISCARD_BID , DEFAULT_PROCESS_BID |
Method Summary | |
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
void |
|
String |
|
String | |
static BorlandLinker | |
File[] | |
String[] |
|
Linker | |
int | |
String[] |
|
protected String |
|
boolean | |
protected String[] |
|
protected String[] |
|
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineLinker | |
addBase , addEntry , addFixed , addImpliedArgs , addIncremental , addLibrarySets , addMap , addStack , createConfiguration , decorateLinkerOption , getCommand , getCommandFileSwitch , getIdentifier , getLibtoolLinker , getMaximumCommandLength , getOutputFileNames , getOutputFileSwitch , getOutputFileSwitch , getStartupObject , link , prepareArguments , prepareFilename , prepareResponseFile , quoteFilename , runCommand , setCommand |
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractLinker | |
addVersionFiles , bid , changeEnvironment , createConfiguration , createConfiguration , getLibraryKey , getOutputFileNames |
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor | |
bid , changeEnvironment , clone , getHeaderExtensions , getIdentifier , getIdentifier , getOSArch , getOSName , getSourceExtensions , isDarwin , toString |
protected void addBase(long base, Vector args)
- Overrides:
- addBase in interface CommandLineLinker
protected void addEntry(String entry, Vector args)
- Overrides:
- addEntry in interface CommandLineLinker
protected void addFixed(Boolean fixed, Vector args)
- Overrides:
- addFixed in interface CommandLineLinker
protected void addImpliedArgs(boolean debug, LinkType linkType, Vector args)
- Overrides:
- addImpliedArgs in interface CommandLineLinker
protected void addIncremental(boolean incremental, Vector args)
- Overrides:
- addIncremental in interface CommandLineLinker
protected void addMap(boolean map, Vector args)
- Overrides:
- addMap in interface CommandLineLinker
protected void addStack(int stack, Vector args)
- Overrides:
- addStack in interface CommandLineLinker
public 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.
- Specified by:
- addVersionFiles in interface Linker
- Overrides:
- addVersionFiles in interface AbstractLinker
- Parameters:
versionInfo
- version informationlinkType
- link typeisDebug
- true if debug buildobjDir
- directory for generated filesmatcher
- bidded fileset
public String getCommandFileSwitch(String commandFile)
- Overrides:
- getCommandFileSwitch in interface CommandLineLinker
public String getIdentifier()
- Specified by:
- getIdentifier in interface Processor
- Overrides:
- getIdentifier in interface CommandLineLinker
public String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
- Specified by:
- getLibraryPatterns in interface Linker
public int getMaximumCommandLength()
- Overrides:
- getMaximumCommandLength in interface CommandLineLinker
public String[] getOutputFileSwitch(String outFile)
- Overrides:
- getOutputFileSwitch in interface CommandLineLinker
protected String getStartupObject(LinkType linkType)
- Overrides:
- getStartupObject in interface CommandLineLinker
protected String[] prepareArguments(CCTask task, String outputDir, String outputName, String[] sourceFiles, CommandLineLinkerConfiguration config)
Prepares argument list for exec command.
- Overrides:
- prepareArguments in interface CommandLineLinker
- Parameters:
sourceFiles
- linker input files (.obj, .o, .res)
- Returns:
- arguments for runTask
protected String[] prepareResponseFile(File outputFile, String[] args) throws IOException
Prepares argument list to execute the linker using a response file.
- Overrides:
- prepareResponseFile in interface CommandLineLinker
- Parameters:
outputFile
- linker output fileargs
- output of prepareArguments
- Returns:
- arguments for runTask