net.sf.antcontrib.cpptasks.gcc.cross
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
- All Implemented Interfaces:
- java.lang.Cloneable, Linker, Processor
public final class GccLibrarian
- extends AbstractArLibrarian
Adapter for the 'ar' archiver
- Author:
- Adam Murdoch
Methods inherited from class net.sf.antcontrib.cpptasks.gcc.AbstractArLibrarian |
addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addMap, addStack, getCommandFileSwitch, getLibraryPath, getLibraryPatterns, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, isCaseSensitive |
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineLinker |
addLibrarySets, createConfiguration, decorateLinkerOption, getCommand, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getInstance
public static GccLibrarian getInstance()
clone
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class AbstractProcessor
- Throws:
java.lang.CloneNotSupportedException
getLinker
public Linker getLinker(LinkType type)
- Description copied from interface:
Linker
- Gets 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,
java.io.File outputFile,
java.lang.String[] sourceFiles,
CommandLineLinkerConfiguration config)
throws org.apache.tools.ant.BuildException
- Description copied from class:
CommandLineLinker
- Performs a link using a command line linker
- Overrides:
link
in class AbstractArLibrarian
- Throws:
org.apache.tools.ant.BuildException
Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved.