net.sf.antcontrib.cpptasks.compiler

Class CommandLineLinkerConfiguration

Implemented Interfaces:
LinkerConfiguration, ProcessorConfiguration

public final class CommandLineLinkerConfiguration
extends java.lang.Object
implements LinkerConfiguration

A configuration for a command line linker
Author:
Curt Arnold

Constructor Summary

CommandLineLinkerConfiguration(CommandLineLinker linker, String identifier, String[][] args, ProcessorParam[] params, boolean rebuild, boolean map, boolean debug, String[] libraryNames, String startupObject)

Method Summary

int
bid(String filename)
String[]
getEndArguments()
String
getIdentifier()
Returns a string representation of this configuration.
String[]
getLibraryNames()
Linker
getLinker()
boolean
getMap()
String[]
getOutputFileNames(String inputFile, VersionInfo versionInfo)
LinkerParam
getParam(String name)
ProcessorParam[]
getParams()
String[]
getPreArguments()
boolean
getRebuild()
String
getStartupObject()
boolean
isDebug()
void
link(CCTask task, TargetInfo linkTarget)
String
toString()

Constructor Details

CommandLineLinkerConfiguration

public CommandLineLinkerConfiguration(CommandLineLinker linker,
                                      String identifier,
                                      String[][] args,
                                      ProcessorParam[] params,
                                      boolean rebuild,
                                      boolean map,
                                      boolean debug,
                                      String[] libraryNames,
                                      String startupObject)

Method Details

bid

public int bid(String filename)
Specified by:
bid in interface ProcessorConfiguration

getEndArguments

public String[] getEndArguments()

getIdentifier

public String getIdentifier()
Returns a string representation of this configuration. Should be canonical so that equivalent configurations will have equivalent string representations
Specified by:
getIdentifier in interface ProcessorConfiguration

getLibraryNames

public String[] getLibraryNames()

getLinker

public Linker getLinker()
Specified by:
getLinker in interface LinkerConfiguration

getMap

public boolean getMap()

getOutputFileNames

public String[] getOutputFileNames(String inputFile,
                                   VersionInfo versionInfo)
Specified by:
getOutputFileNames in interface ProcessorConfiguration

getParam

public LinkerParam getParam(String name)
Specified by:
getParam in interface LinkerConfiguration

getParams

public ProcessorParam[] getParams()
Specified by:
getParams in interface ProcessorConfiguration

getPreArguments

public String[] getPreArguments()

getRebuild

public boolean getRebuild()
Specified by:
getRebuild in interface ProcessorConfiguration

getStartupObject

public String getStartupObject()

isDebug

public boolean isDebug()
Specified by:
isDebug in interface LinkerConfiguration

link

public void link(CCTask task,
                 TargetInfo linkTarget)
            throws BuildException
Specified by:
link in interface LinkerConfiguration

toString

public String toString()

Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.