public final class GccCCompiler extends GccCompatibleCCompiler
objDir, workDirDEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID| Modifier and Type | Method and Description |
|---|---|
void |
addImpliedArgs(Vector<String> args,
boolean debug,
boolean multithreaded,
boolean exceptions,
LinkType linkType,
Boolean rtti,
OptimizationEnum optimization) |
Processor |
changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.Environment env) |
protected Object |
clone() |
void |
compile(CCTask task,
File outputDir,
String[] sourceFiles,
String[] args,
String[] endArgs,
boolean relentless,
CommandLineCompilerConfiguration config,
ProgressMonitor monitor)
Compiles a source file.
|
protected Parser |
createParser(File source)
Create parser to determine dependencies.
|
static GccCCompiler |
getCppInstance()
Gets c++ adapter
|
File[] |
getEnvironmentIncludePath() |
static GccCCompiler |
getG77Instance()
Gets g77 adapter
|
static GccCCompiler |
getGppInstance()
Gets gpp adapter
|
String |
getIdentifier()
Retrieve an identifier that identifies the specific version of the
compiler.
|
static GccCCompiler |
getInstance()
Gets gcc adapter
|
Linker |
getLinker(LinkType linkType)
Gets the linker that is associated with this processors
|
int |
getMaximumCommandLength() |
addIncludePath, addWarningSwitch, getArgumentCountPerInputFile, getDefineSwitch, getIncludeDirSwitch, getIncludeDirSwitch, getInputFileArgument, getUndefineSwitchaddIncludes, buildDefineArguments, createConfiguration, getCommand, getCommandWithPath, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getOutputFileNames, getTotalArgumentLengthForInputFile, runCommand, setCommandcanParse, createConfiguration, getBaseOutputName, getOutputSuffix, parseIncludes, resolveInclude, setObjDir, setWorkDirbid, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toStringpublic static GccCCompiler getCppInstance()
public static GccCCompiler getG77Instance()
public static GccCCompiler getGppInstance()
public static GccCCompiler getInstance()
public void addImpliedArgs(Vector<String> args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
addImpliedArgs in class GccCompatibleCCompilerpublic Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment in interface ProcessorchangeEnvironment in class AbstractProcessorprotected Object clone() throws CloneNotSupportedException
clone in class AbstractProcessorCloneNotSupportedExceptionpublic void compile(CCTask task, File outputDir, String[] sourceFiles, String[] args, String[] endArgs, boolean relentless, CommandLineCompilerConfiguration config, ProgressMonitor monitor) throws org.apache.tools.ant.BuildException
CommandLineCompilercompile in class CommandLineCompilerorg.apache.tools.ant.BuildExceptionprotected Parser createParser(File source)
createParser in class CommandLineCCompilerpublic File[] getEnvironmentIncludePath()
getEnvironmentIncludePath in class GccCompatibleCCompilerpublic String getIdentifier() throws org.apache.tools.ant.BuildException
ProcessorgetIdentifier in interface ProcessorgetIdentifier in class CommandLineCompilerorg.apache.tools.ant.BuildExceptionpublic Linker getLinker(LinkType linkType)
Processorpublic int getMaximumCommandLength()
getMaximumCommandLength in class CommandLineCompilerCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.