public final class LdLinker extends AbstractLdLinker
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
discardFiles |
private static LdLinker |
dllLinker |
private static LdLinker |
instance |
private java.io.File[] |
libDirs |
private static java.lang.String[] |
libtoolObjFiles |
private static java.lang.String[] |
objFiles |
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier | Constructor and Description |
---|---|
private |
LdLinker(java.lang.String command,
java.lang.String[] extensions,
java.lang.String[] ignoredExtensions,
java.lang.String outputPrefix,
java.lang.String outputSuffix,
boolean isLibtool,
LdLinker libtoolLinker) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
clone() |
static LdLinker |
getInstance() |
Linker |
getLinker(LinkType type)
Gets the linker for the specified link type.
|
void |
link(CCTask task,
java.io.File outputFile,
java.lang.String[] sourceFiles,
CommandLineLinkerConfiguration config)
Performs a link using a command line linker
|
private void |
superlink(CCTask task,
java.io.File outputFile,
java.lang.String[] sourceFiles,
CommandLineLinkerConfiguration config) |
addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addLibraryPatterns, addLibrarySets, addMap, addStack, getCommandFileSwitch, getDynamicLibFlag, getEnvironmentIncludePath, getLibraryKey, getLibraryPath, getLibraryPatterns, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, getStaticLibFlag, isCaseSensitive, isHPUX, prepareArguments
createConfiguration, decorateLinkerOption, getCommand, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand
addVersionFiles, bid, changeEnvironment, createConfiguration
getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
private static final java.lang.String[] libtoolObjFiles
private static final java.lang.String[] objFiles
private static final java.lang.String[] discardFiles
private static final LdLinker dllLinker
private static final LdLinker instance
private java.io.File[] libDirs
private LdLinker(java.lang.String command, java.lang.String[] extensions, java.lang.String[] ignoredExtensions, java.lang.String outputPrefix, java.lang.String outputSuffix, boolean isLibtool, LdLinker libtoolLinker)
public static LdLinker getInstance()
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractProcessor
java.lang.CloneNotSupportedException
public Linker getLinker(LinkType type)
Linker
public void link(CCTask task, java.io.File outputFile, java.lang.String[] sourceFiles, CommandLineLinkerConfiguration config) throws org.apache.tools.ant.BuildException
CommandLineLinker
link
in class CommandLineLinker
org.apache.tools.ant.BuildException
private void superlink(CCTask task, java.io.File outputFile, java.lang.String[] sourceFiles, CommandLineLinkerConfiguration config) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException