net.sf.antcontrib.cpptasks.gcc

Class LdLinker

Implemented Interfaces:
Cloneable, Linker, Processor

public final class LdLinker
extends AbstractLdLinker

Adapter for the 'ld' linker
Author:
Curt Arnold

Field Summary

Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor

DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID

Method Summary

static LdLinker
getInstance()
Linker
getLinker(LinkType type)
Gets the linker for the specified link type.

Methods inherited from class net.sf.antcontrib.cpptasks.gcc.AbstractLdLinker

addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addLibraryPatterns, addLibrarySets, addMap, addStack, getCommandFileSwitch, getEnvironmentIncludePath, getLibraryKey, getLibraryPath, getLibraryPatterns, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, isCaseSensitive, isHPUX, prepareArguments

Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineLinker

addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addLibrarySets, addMap, addStack, createConfiguration, decorateLinkerOption, getCommand, getCommandFileSwitch, getIdentifier, getLibtoolLinker, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, getOutputFileSwitch, getStartupObject, link, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand

Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractLinker

addVersionFiles, bid, changeEnvironment, createConfiguration, createConfiguration, getLibraryKey, getOutputFileNames

Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor

bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString

Method Details

getInstance

public static LdLinker getInstance()

getLinker

public Linker getLinker(LinkType type)
Gets the linker for the specified link type.
Specified by:
getLinker in interface Linker
getLinker in interface Processor
Returns:
appropriate linker or null, will return this if this linker can handle the specified link type

Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.