public abstract class DevStudioCompatibleLinker extends CommandLineLinker
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Constructor and Description |
---|
DevStudioCompatibleLinker(String command,
String identifierArg,
String outputSuffix) |
Modifier and Type | Method and Description |
---|---|
protected void |
addBase(CCTask task,
long base,
Vector args) |
protected void |
addEntry(CCTask task,
String entry,
Vector args) |
protected void |
addFixed(CCTask task,
Boolean fixed,
Vector args) |
protected void |
addImpliedArgs(CCTask task,
boolean debug,
LinkType linkType,
Vector args) |
protected void |
addIncremental(CCTask task,
boolean incremental,
Vector args) |
protected void |
addMap(CCTask task,
boolean map,
Vector args) |
protected void |
addStack(CCTask task,
int stack,
Vector 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) |
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.
|
int |
getMaximumCommandLength() |
String[] |
getOutputFileSwitch(String outputFile) |
boolean |
isCaseSensitive()
Returns true if the linker is case-sensitive
|
addLibrarySets, createConfiguration, decorateLinkerOption, getCommand, getCommandWithPath, getIdentifier, getLibtoolLinker, getOutputFileNames, getOutputFileSwitch, getStartupObject, link, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand
bid, changeEnvironment, createConfiguration, getLibraryKey
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
protected void addBase(CCTask task, long base, Vector args)
addBase
in class CommandLineLinker
protected void addFixed(CCTask task, Boolean fixed, Vector args)
addFixed
in class CommandLineLinker
protected void addImpliedArgs(CCTask task, boolean debug, LinkType linkType, Vector args)
addImpliedArgs
in class CommandLineLinker
protected void addIncremental(CCTask task, boolean incremental, Vector args)
addIncremental
in class CommandLineLinker
protected void addMap(CCTask task, boolean map, Vector args)
addMap
in class CommandLineLinker
protected void addStack(CCTask task, int stack, Vector args)
addStack
in class CommandLineLinker
protected void addEntry(CCTask task, String entry, Vector args)
addEntry
in class CommandLineLinker
public String getCommandFileSwitch(String commandFile)
getCommandFileSwitch
in class CommandLineLinker
public File[] getLibraryPath()
Linker
public String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
Linker
libnames
- array of library namespublic int getMaximumCommandLength()
getMaximumCommandLength
in class CommandLineLinker
public String[] getOutputFileSwitch(String outputFile)
getOutputFileSwitch
in class CommandLineLinker
public boolean isCaseSensitive()
Linker
public void addVersionFiles(VersionInfo versionInfo, LinkType linkType, File outputFile, boolean isDebug, File objDir, TargetMatcher matcher) throws IOException
addVersionFiles
in interface Linker
addVersionFiles
in class AbstractLinker
versionInfo
- version informationlinkType
- link typeisDebug
- true if debug buildoutputFile
- name of generated executableobjDir
- directory for generated filesmatcher
- bidded filesetIOException
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.