public final class BorlandLinker extends CommandLineLinker
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
限定符和类型 | 方法和说明 |
---|---|
protected void |
addBase(long base,
Vector<String> args) |
protected void |
addEntry(String entry,
Vector<String> args) |
protected void |
addFixed(Boolean fixed,
Vector<String> args) |
protected void |
addImpliedArgs(boolean debug,
LinkType linkType,
Vector<String> args) |
protected void |
addIncremental(boolean incremental,
Vector<String> args) |
protected void |
addMap(boolean map,
Vector<String> args) |
protected void |
addStack(int stack,
Vector<String> args) |
void |
addVersionFiles(VersionInfo versionInfo,
LinkType linkType,
File outputFile,
boolean isDebug,
File objDir,
TargetMatcher matcher)
Adds source or object files to the bidded fileset to
support version information.
|
String |
getCommandFileSwitch(String commandFile) |
String |
getIdentifier()
Retrieve an identifier that identifies the specific version of the
compiler.
|
static BorlandLinker |
getInstance() |
File[] |
getLibraryPath()
returns the library path for the linker
|
String[] |
getLibraryPatterns(String[] libnames,
LibraryTypeEnum libType)
Returns a set of filename patterns corresponding to library names.
|
Linker |
getLinker(LinkType type)
Gets the linker for the specified link type.
|
int |
getMaximumCommandLength() |
String[] |
getOutputFileSwitch(String outFile) |
protected String |
getStartupObject(LinkType linkType) |
boolean |
isCaseSensitive()
Returns true if the linker is case-sensitive
|
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.
|
addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addLibraryDirectory, addLibraryPath, addLibrarySets, addMap, addStack, createConfiguration, decorateLinkerOption, getCommand, getCommandWithPath, getLibtoolLinker, getOutputFileNames, getOutputFileSwitch, link, prepareFilename, quoteFilename, runCommand, setCommand
bid, changeEnvironment, createConfiguration, getLibraryKey
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
public static BorlandLinker getInstance()
public void addVersionFiles(VersionInfo versionInfo, LinkType linkType, File outputFile, boolean isDebug, File objDir, TargetMatcher matcher) throws IOException
addVersionFiles
在接口中 Linker
addVersionFiles
在类中 AbstractLinker
versionInfo
- version informationlinkType
- link typeisDebug
- true if debug buildoutputFile
- name of generated executableobjDir
- directory for generated filesmatcher
- bidded filesetIOException
public String getCommandFileSwitch(String commandFile)
getCommandFileSwitch
在类中 CommandLineLinker
public String getIdentifier()
Processor
getIdentifier
在接口中 Processor
getIdentifier
在类中 CommandLineLinker
public File[] getLibraryPath()
Linker
public String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
Linker
libnames
- array of library namespublic Linker getLinker(LinkType type)
Linker
public int getMaximumCommandLength()
getMaximumCommandLength
在类中 CommandLineLinker
public String[] getOutputFileSwitch(String outFile)
getOutputFileSwitch
在类中 CommandLineLinker
protected String getStartupObject(LinkType linkType)
getStartupObject
在类中 CommandLineLinker
public boolean isCaseSensitive()
Linker
protected String[] prepareArguments(CCTask task, String outputDir, String outputName, String[] sourceFiles, CommandLineLinkerConfiguration config)
prepareArguments
在类中 CommandLineLinker
outputDir
- linker output directoryoutputName
- linker output namesourceFiles
- linker input files (.obj, .o, .res)config
- linker configurationtask
- compilation task.protected String[] prepareResponseFile(File outputFile, String[] args) throws IOException
prepareResponseFile
在类中 CommandLineLinker
outputFile
- linker output fileargs
- output of prepareArgumentsIOException
Copyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.