Class GccLinker
java.lang.Object
net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
net.sf.antcontrib.cpptasks.compiler.AbstractLinker
net.sf.antcontrib.cpptasks.compiler.CommandLineLinker
net.sf.antcontrib.cpptasks.gcc.AbstractLdLinker
net.sf.antcontrib.cpptasks.gcc.cross.sparc_sun_solaris2.GccLinker
-
Field Summary
Fields inherited from class AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddImpliedArgs(boolean debug, LinkType linkType, Vector args) decorateLinkerOption(StringBuffer buf, String arg) Allows drived linker to decorate linker option.static GccLinkerFile[]Returns library path.Gets the linker that is associated with this processorsMethods inherited from class AbstractLdLinker
addBase, addEntry, addFixed, addIncremental, addLibraryPatterns, addLibrarySets, addMap, addStack, getCommandFileSwitch, getDynamicLibFlag, getEnvironmentIncludePath, getLibraryKey, getLibraryPatterns, getMaximumCommandLength, getOutputFileNames, getOutputFileSwitch, getStaticLibFlag, isCaseSensitive, isHPUX, prepareArgumentsMethods inherited from class CommandLineLinker
createConfiguration, getCommand, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, link, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommandMethods inherited from class AbstractLinker
addVersionFiles, bid, changeEnvironment, createConfigurationMethods inherited from class AbstractProcessor
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
-
Constructor Details
-
GccLinker
-
-
Method Details
-
getInstance
-
addImpliedArgs
- Overrides:
addImpliedArgsin classAbstractLdLinker
-
decorateLinkerOption
Allows drived linker to decorate linker option. Override by GccLinker to prepend a "-Wl," to pass option to through gcc to linker.- Overrides:
decorateLinkerOptionin classCommandLineLinker- Parameters:
buf- buffer that may be used and abused in the decoration process, must not be null.arg- linker argument
-
getLibraryPath
Returns library path.- Specified by:
getLibraryPathin interfaceLinker- Overrides:
getLibraryPathin classAbstractLdLinker
-
getLinker
-