net.sf.antcontrib.cpptasks.gcc

Class GccCCompiler

public final class GccCCompiler extends GccCompatibleCCompiler

Adapter for the GCC C/C++ compiler

Author: Adam Murdoch

Method Summary
voidaddImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
ProcessorchangeEnvironment(boolean newEnvironment, Environment env)
protected ParsercreateParser(File source)
Create parser to determine dependencies.
static GccCCompilergetCppInstance()
Gets c++ adapter
File[]getEnvironmentIncludePath()
static GccCCompilergetG77Instance()
Gets g77 adapter
static GccCCompilergetGppInstance()
Gets gpp adapter
StringgetIdentifier()
static GccCCompilergetInstance()
Gets gcc adapter
LinkergetLinker(LinkType linkType)
intgetMaximumCommandLength()

Method Detail

addImpliedArgs

public void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)

changeEnvironment

public Processor changeEnvironment(boolean newEnvironment, Environment env)

createParser

protected Parser createParser(File source)
Create parser to determine dependencies. Will create appropriate parser (C++, FORTRAN) based on file extension.

getCppInstance

public static GccCCompiler getCppInstance()
Gets c++ adapter

getEnvironmentIncludePath

public File[] getEnvironmentIncludePath()

getG77Instance

public static GccCCompiler getG77Instance()
Gets g77 adapter

getGppInstance

public static GccCCompiler getGppInstance()
Gets gpp adapter

getIdentifier

public String getIdentifier()

getInstance

public static GccCCompiler getInstance()
Gets gcc adapter

getLinker

public Linker getLinker(LinkType linkType)

getMaximumCommandLength

public int getMaximumCommandLength()
Copyright ? 2001-2011 Ant-Contrib project. All Rights Reserved.