|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.maven_nar.cpptasks.compiler.AbstractProcessor
com.github.maven_nar.cpptasks.compiler.AbstractLinker
com.github.maven_nar.cpptasks.compiler.CommandLineLinker
com.github.maven_nar.cpptasks.borland.BorlandLinker
public final class BorlandLinker
Adapter for the Borland(r) ilink32 linker
| Field Summary |
|---|
| Fields inherited from class com.github.maven_nar.cpptasks.compiler.AbstractProcessor |
|---|
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID |
| Method Summary | |
|---|---|
protected void |
addBase(long base,
Vector args)
|
protected void |
addEntry(String entry,
Vector args)
|
protected void |
addFixed(Boolean fixed,
Vector args)
|
protected void |
addImpliedArgs(boolean debug,
LinkType linkType,
Vector args)
|
protected void |
addIncremental(boolean incremental,
Vector args)
|
protected void |
addMap(boolean map,
Vector args)
|
protected void |
addStack(int stack,
Vector args)
|
void |
addVersionFiles(VersionInfo versionInfo,
LinkType linkType,
File outputFile,
boolean isDebug,
File objDir,
TargetMatcher matcher)
Adds source or object files to the bidded fileset to support version information. |
String |
getCommandFileSwitch(String commandFile)
|
String |
getIdentifier()
Retrieve an identifier that identifies the specific version of the compiler. |
static BorlandLinker |
getInstance()
|
File[] |
getLibraryPath()
returns the library path for the linker |
String[] |
getLibraryPatterns(String[] libnames,
LibraryTypeEnum libType)
Returns a set of filename patterns corresponding to library names. |
Linker |
getLinker(LinkType type)
Gets the linker for the specified link type. |
int |
getMaximumCommandLength()
|
String[] |
getOutputFileSwitch(String outFile)
|
protected String |
getStartupObject(LinkType linkType)
|
boolean |
isCaseSensitive()
Returns true if the linker is case-sensitive |
protected String[] |
prepareArguments(CCTask task,
String outputDir,
String outputName,
String[] sourceFiles,
CommandLineLinkerConfiguration config)
Prepares argument list for exec command. |
protected String[] |
prepareResponseFile(File outputFile,
String[] args)
Prepares argument list to execute the linker using a response file. |
| Methods inherited from class com.github.maven_nar.cpptasks.compiler.CommandLineLinker |
|---|
addLibrarySets, createConfiguration, decorateLinkerOption, getCommand, getCommandWithPath, getLibtoolLinker, getOutputFileNames, getOutputFileSwitch, link, prepareFilename, quoteFilename, runCommand, setCommand |
| Methods inherited from class com.github.maven_nar.cpptasks.compiler.AbstractLinker |
|---|
bid, changeEnvironment, createConfiguration, getLibraryKey |
| Methods inherited from class com.github.maven_nar.cpptasks.compiler.AbstractProcessor |
|---|
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static BorlandLinker getInstance()
protected void addBase(long base,
Vector args)
addBase in class CommandLineLinker
protected void addFixed(Boolean fixed,
Vector args)
addFixed in class CommandLineLinker
protected void addImpliedArgs(boolean debug,
LinkType linkType,
Vector args)
addImpliedArgs in class CommandLineLinker
protected void addIncremental(boolean incremental,
Vector args)
addIncremental in class CommandLineLinker
protected void addMap(boolean map,
Vector args)
addMap in class CommandLineLinker
protected void addStack(int stack,
Vector args)
addStack in class CommandLineLinker
protected void addEntry(String entry,
Vector args)
addEntry in class CommandLineLinkerpublic String getCommandFileSwitch(String commandFile)
getCommandFileSwitch in class CommandLineLinkerpublic String getIdentifier()
Processor
getIdentifier in interface ProcessorgetIdentifier in class CommandLineLinkerpublic File[] getLibraryPath()
Linker
public String[] getLibraryPatterns(String[] libnames,
LibraryTypeEnum libType)
Linker
libnames - array of library namespublic Linker getLinker(LinkType type)
Linker
public int getMaximumCommandLength()
getMaximumCommandLength in class CommandLineLinkerpublic String[] getOutputFileSwitch(String outFile)
getOutputFileSwitch in class CommandLineLinkerprotected String getStartupObject(LinkType linkType)
getStartupObject in class CommandLineLinkerpublic boolean isCaseSensitive()
Linker
protected String[] prepareArguments(CCTask task,
String outputDir,
String outputName,
String[] sourceFiles,
CommandLineLinkerConfiguration config)
prepareArguments in class CommandLineLinkeroutputDir - linker output directoryoutputName - linker output namesourceFiles - linker input files (.obj, .o, .res)config - linker configurationtask - compilation task.
protected String[] prepareResponseFile(File outputFile,
String[] args)
throws IOException
prepareResponseFile in class CommandLineLinkeroutputFile - linker output fileargs - output of prepareArguments
IOException
public void addVersionFiles(VersionInfo versionInfo,
LinkType linkType,
File outputFile,
boolean isDebug,
File objDir,
TargetMatcher matcher)
throws IOException
addVersionFiles in interface LinkeraddVersionFiles in class AbstractLinkerversionInfo - version informationlinkType - link typeisDebug - true if debug buildoutputFile - name of generated executableobjDir - directory for generated filesmatcher - bidded fileset
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||