public abstract class CCLinkerInvocation extends Object implements LinkerInvocation
| Modifier and Type | Class and Description |
|---|---|
static class |
CCLinkerInvocation.Options |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
additionalPreOptions |
protected List<Path> |
inputFilenames |
protected List<String> |
libpaths |
protected List<String> |
libs |
protected List<String> |
nativeLinkerOptions |
protected Path |
outputFile |
protected List<String> |
rpaths |
protected Path |
tempDirectory |
| Constructor and Description |
|---|
CCLinkerInvocation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditionalPreOption(String option) |
void |
addInputFile(int index,
Path filename) |
void |
addInputFile(Path filename) |
void |
addLibPath(int index,
String libPath) |
void |
addLibPath(String libPath) |
void |
addLinkedLibrary(int index,
String libname) |
void |
addLinkedLibrary(String libname) |
void |
addNativeLinkerOption(String option) |
void |
addRPath(int index,
String rPath) |
void |
addRPath(String rPath) |
List<String> |
getCommand() |
protected List<String> |
getCompilerCommand(List<String> options) |
List<Path> |
getInputFiles() |
List<String> |
getLibPaths() |
protected List<String> |
getLibrariesCommand() |
List<String> |
getLinkedLibraries() |
protected List<String> |
getNativeLinkerOptions() |
Path |
getOutputFile() |
List<String> |
getRPaths() |
Path |
getTempDirectory() |
void |
setOutputFile(Path out) |
protected abstract void |
setOutputKind(List<String> cmd) |
void |
setTempDirectory(Path tempDirectory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetImageSymbolspublic List<Path> getInputFiles()
getInputFiles in interface LinkerInvocationpublic void addInputFile(Path filename)
addInputFile in interface LinkerInvocationpublic void addInputFile(int index,
Path filename)
addInputFile in interface LinkerInvocationpublic List<String> getLibPaths()
getLibPaths in interface LinkerInvocationpublic void addLibPath(String libPath)
addLibPath in interface LinkerInvocationpublic void addLibPath(int index,
String libPath)
addLibPath in interface LinkerInvocationpublic List<String> getRPaths()
getRPaths in interface LinkerInvocationpublic void addRPath(String rPath)
addRPath in interface LinkerInvocationpublic void addRPath(int index,
String rPath)
addRPath in interface LinkerInvocationpublic Path getOutputFile()
getOutputFile in interface LinkerInvocationpublic void setOutputFile(Path out)
setOutputFile in interface LinkerInvocationpublic void setTempDirectory(Path tempDirectory)
public Path getTempDirectory()
getTempDirectory in interface LinkerInvocationpublic List<String> getLinkedLibraries()
getLinkedLibraries in interface LinkerInvocationpublic void addLinkedLibrary(String libname)
addLinkedLibrary in interface LinkerInvocationpublic void addLinkedLibrary(int index,
String libname)
addLinkedLibrary in interface LinkerInvocationpublic List<String> getCommand()
getCommand in interface LinkerInvocationpublic void addAdditionalPreOption(String option)
addAdditionalPreOption in interface LinkerInvocationpublic void addNativeLinkerOption(String option)
addNativeLinkerOption in interface LinkerInvocation