net.sf.antcontrib.cpptasks.gcc.cross.sparc_sun_solaris2
Class GppLinker
- Cloneable, Linker, Processor
Adapter for the g++ variant of the GCC linker
GppLinker(String command, String[] extensions, String[] ignoredExtensions, String outputPrefix, String outputSuffix, boolean isLibtool, GppLinker libtoolLinker)
|
addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addLibraryPatterns, addLibrarySets, addMap, addStack, getCommandFileSwitch, getEnvironmentIncludePath, getLibraryKey, getLibraryPath, getLibraryPatterns, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, isCaseSensitive, isHPUX, prepareArguments |
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 |
bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString |
discardFiles
protected static final String[] discardFiles
libtoolObjFiles
protected static final String[] libtoolObjFiles
objFiles
protected static final String[] objFiles
GppLinker
protected GppLinker(String command,
String[] extensions,
String[] ignoredExtensions,
String outputPrefix,
String outputSuffix,
boolean isLibtool,
GppLinker libtoolLinker)
decorateLinkerOption
public String decorateLinkerOption(StringBuffer buf,
String arg) Allows drived linker to decorate linker option. Override by GppLinker to
prepend a "-Wl," to pass option to through gcc to linker.
- decorateLinkerOption in interface CommandLineLinker
buf - buffer that may be used and abused in the decoration process,
must not be null.arg - linker argument
getInstance
public static GppLinker getInstance()
getLinker
public Linker getLinker(LinkType type)
Gets the linker for the specified link type.
- getLinker in interface Linker
- getLinker in interface Processor
- 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.