public class GccLinker extends AbstractLdLinker
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID| Modifier | Constructor and Description |
|---|---|
protected |
GccLinker(String command,
String[] extensions,
String[] ignoredExtensions,
String outputPrefix,
String outputSuffix,
boolean isLibtool,
GccLinker libtoolLinker) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addImpliedArgs(boolean debug,
LinkType linkType,
Vector args) |
protected Object |
clone() |
String |
decorateLinkerOption(StringBuffer buf,
String arg)
Allows drived linker to decorate linker option.
|
static GccLinker |
getInstance() |
File[] |
getLibraryPath()
Returns library path.
|
Linker |
getLinker(LinkType type)
Gets the linker for the specified link type.
|
void |
link(CCTask task,
File outputFile,
String[] sourceFiles,
CommandLineLinkerConfiguration config)
Performs a link using a command line linker
|
addBase, addEntry, addFixed, addIncremental, addLibraryPatterns, addLibrarySets, addMap, addStack, getCommandFileSwitch, getDynamicLibFlag, getEnvironmentIncludePath, getLibraryKey, getLibraryPatterns, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, getStaticLibFlag, isCaseSensitive, isHPUX, prepareArgumentscreateConfiguration, getCommand, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommandaddVersionFiles, bid, changeEnvironment, createConfigurationgetHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toStringpublic static GccLinker getInstance()
protected void addImpliedArgs(boolean debug,
LinkType linkType,
Vector args)
addImpliedArgs in class AbstractLdLinkerprotected Object clone() throws CloneNotSupportedException
clone in class AbstractProcessorCloneNotSupportedExceptionpublic String decorateLinkerOption(StringBuffer buf, String arg)
decorateLinkerOption in class CommandLineLinkerbuf - buffer that may be used and abused in the decoration process,
must not be null.arg - linker argumentpublic File[] getLibraryPath()
getLibraryPath in interface LinkergetLibraryPath in class AbstractLdLinkerpublic Linker getLinker(LinkType type)
Linkerpublic void link(CCTask task, File outputFile, String[] sourceFiles, CommandLineLinkerConfiguration config) throws org.apache.tools.ant.BuildException
CommandLineLinkerlink in class CommandLineLinkerorg.apache.tools.ant.BuildExceptionCopyright © 2001–2025 Ant-Contrib Project. All rights reserved.