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 Path |
outputFile |
protected AbstractBootImage.NativeImageKind |
outputKind |
protected List<String> |
rpaths |
| 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 |
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() |
Path |
getOutputFile() |
AbstractBootImage.NativeImageKind |
getOutputKind() |
List<String> |
getRPaths() |
void |
setOutputFile(Path out) |
void |
setOutputKind(AbstractBootImage.NativeImageKind k) |
protected abstract void |
setOutputKind(List<String> cmd) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetImageSymbolsprotected Path outputFile
protected AbstractBootImage.NativeImageKind outputKind
public 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 AbstractBootImage.NativeImageKind getOutputKind()
public void setOutputKind(AbstractBootImage.NativeImageKind k)
public 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 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 LinkerInvocation