public final class GccLibrarian extends AbstractArLibrarian
Modifier and Type | Field and Description |
---|---|
private static GccLibrarian |
instance |
private static java.lang.String[] |
objFileExtensions |
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier | Constructor and Description |
---|---|
private |
GccLibrarian(java.lang.String command,
java.lang.String[] inputExtensions,
boolean isLibtool,
GccLibrarian libtoolLibrarian) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
clone() |
static GccLibrarian |
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, addMap, addStack, getCommandFileSwitch, getLibraryPath, getLibraryPatterns, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, isCaseSensitive
addLibrarySets, createConfiguration, decorateLinkerOption, getCommand, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand
addVersionFiles, bid, changeEnvironment, createConfiguration, getLibraryKey
getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
private static java.lang.String[] objFileExtensions
private static GccLibrarian instance
private GccLibrarian(java.lang.String command, java.lang.String[] inputExtensions, boolean isLibtool, GccLibrarian libtoolLibrarian)
public static GccLibrarian 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 AbstractArLibrarian
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