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<String> |
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,
String filename) |
void |
addInputFile(String 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() |
String |
getCompilerCommand() |
List<String> |
getInputFiles() |
List<String> |
getLibPaths() |
List<String> |
getLinkedLibraries() |
Path |
getOutputFile() |
AbstractBootImage.NativeImageKind |
getOutputKind() |
List<String> |
getRPaths() |
void |
setCompilerCommand(String command) |
void |
setOutputFile(Path out) |
void |
setOutputKind(AbstractBootImage.NativeImageKind k) |
protected abstract void |
setOutputKind(List<String> cmd) |
protected Path outputFile
protected AbstractBootImage.NativeImageKind outputKind
public List<String> getInputFiles()
getInputFiles in interface LinkerInvocationpublic void addInputFile(String filename)
addInputFile in interface LinkerInvocationpublic void addInputFile(int index,
String 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 String getCompilerCommand()
getCompilerCommand in interface LinkerInvocationpublic void setCompilerCommand(String command)
setCompilerCommand in interface LinkerInvocationpublic List<String> getCommand()
getCommand in interface LinkerInvocationpublic void addAdditionalPreOption(String option)
addAdditionalPreOption in interface LinkerInvocation