Class LdLinker
Adapter for the 'ld' linker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String[]private static final LdLinkerprivate static final LdLinkerprivate File[]private static final String[]private static final String[]Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()static LdLinkerGets the linker for the specified link type.voidlink(CCTask task, File outputFile, String[] sourceFiles, CommandLineLinkerConfiguration config) Performs a link using a command line linkerprivate voidsuperlink(CCTask task, File outputFile, String[] sourceFiles, CommandLineLinkerConfiguration config) Methods inherited from class net.sf.antcontrib.cpptasks.gcc.AbstractLdLinker
addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addLibraryPatterns, addLibrarySets, addMap, addStack, getCommandFileSwitch, getDynamicLibFlag, getEnvironmentIncludePath, getLibraryKey, getLibraryPath, getLibraryPatterns, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, getStaticLibFlag, isCaseSensitive, isHPUX, prepareArgumentsMethods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineLinker
createConfiguration, decorateLinkerOption, getCommand, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommandMethods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractLinker
addVersionFiles, bid, changeEnvironment, createConfigurationMethods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
-
Field Details
-
libtoolObjFiles
-
objFiles
-
discardFiles
-
dllLinker
-
instance
-
libDirs
-
-
Constructor Details
-
LdLinker
-
-
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 classCommandLineLinker- Throws:
org.apache.tools.ant.BuildException
-
superlink
private void superlink(CCTask task, File outputFile, String[] sourceFiles, CommandLineLinkerConfiguration config) throws org.apache.tools.ant.BuildException - Throws:
org.apache.tools.ant.BuildException
-