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(CCTask task,
boolean debug,
LinkType linkType,
Vector args) |
String |
decorateLinkerOption(StringBuffer buf,
String arg)
Allows drived linker to decorate linker option.
|
static GccLinker |
getCLangInstance() |
static GccLinker |
getInstance() |
File[] |
getLibraryPath()
Returns library path.
|
Linker |
getLinker(LinkType type)
Gets the linker for the specified link type.
|
addBase, addEntry, addIncremental, addLibraryPatterns, addLibrarySets, addMap, addStack, getCommandFileSwitch, getDynamicLibFlag, getEnvironmentIncludePath, getLibraryKey, getLibraryPatterns, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, getStaticLibFlag, isCaseSensitive, isHPUX, prepareArgumentsaddFixed, createConfiguration, getCommand, getCommandWithPath, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, link, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommandaddVersionFiles, bid, changeEnvironment, createConfigurationclone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toStringpublic static GccLinker getInstance()
public static GccLinker getCLangInstance()
protected void addImpliedArgs(CCTask task, boolean debug, LinkType linkType, Vector args)
addImpliedArgs in class AbstractLdLinkerpublic 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 AbstractLdLinkerCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.