public class GccLinker extends AbstractLdLinker
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
限定符 | 构造器和说明 |
---|---|
protected |
GccLinker(String command,
String[] extensions,
String[] ignoredExtensions,
String outputPrefix,
String outputSuffix,
boolean isLibtool,
GccLinker libtoolLinker) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
addImpliedArgs(CCTask task,
boolean debug,
LinkType linkType,
Vector<String> 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, addIncremental, addLibraryPath, addLibraryPatterns, addLibrarySets, addMap, addStack, getCommandFileSwitch, getDynamicLibFlag, getEnvironmentIncludePath, getLibraryKey, getLibraryPatterns, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, getStaticLibFlag, isCaseSensitive, isHPUX, prepareArguments
addFixed, addLibraryDirectory, createConfiguration, getCommand, getCommandWithPath, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand
addVersionFiles, bid, changeEnvironment, createConfiguration
getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
public static GccLinker getInstance()
protected void addImpliedArgs(CCTask task, boolean debug, LinkType linkType, Vector<String> args)
addImpliedArgs
在类中 AbstractLdLinker
protected Object clone() throws CloneNotSupportedException
clone
在类中 AbstractProcessor
CloneNotSupportedException
public String decorateLinkerOption(StringBuffer buf, String arg)
decorateLinkerOption
在类中 CommandLineLinker
buf
- buffer that may be used and abused in the decoration process,
must not be null.arg
- linker argumentpublic File[] getLibraryPath()
getLibraryPath
在接口中 Linker
getLibraryPath
在类中 AbstractLdLinker
public Linker getLinker(LinkType type)
Linker
public void link(CCTask task, File outputFile, String[] sourceFiles, CommandLineLinkerConfiguration config) throws org.apache.tools.ant.BuildException
CommandLineLinker
link
在类中 CommandLineLinker
org.apache.tools.ant.BuildException
Copyright © 2005-2017 NAR Maven Plugin developers. All Rights Reserved.