Class GccLibrarian
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.gcc.AbstractArLibrarian
net.sf.antcontrib.cpptasks.gcc.cross.GccLibrarian
Adapter for the 'ar' archiver
- Author:
- Adam Murdoch
-
Field Summary
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()static GccLibrarianGets the linker for the specified link type.voidlink(CCTask task, File outputFile, String[] sourceFiles, CommandLineLinkerConfiguration config) Performs a link using a command line linkerMethods inherited from class net.sf.antcontrib.cpptasks.gcc.AbstractArLibrarian
addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addMap, addStack, getCommandFileSwitch, getLibraryPath, getLibraryPatterns, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, isCaseSensitiveMethods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineLinker
addLibrarySets, createConfiguration, decorateLinkerOption, getCommand, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommandMethods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractLinker
addVersionFiles, bid, changeEnvironment, createConfiguration, getLibraryKeyMethods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
-
Method Details
-
getInstance
-
clone
- Overrides:
clonein classAbstractProcessor- Throws:
CloneNotSupportedException
-
getLinker
Description copied from interface:LinkerGets the linker for the specified link type.- Returns:
- appropriate linker or null, will return this if this linker can handle the specified link type
-
link
public void link(CCTask task, File outputFile, String[] sourceFiles, CommandLineLinkerConfiguration config) throws org.apache.tools.ant.BuildException Description copied from class:CommandLineLinkerPerforms a link using a command line linker- Overrides:
linkin classAbstractArLibrarian- Throws:
org.apache.tools.ant.BuildException
-