net.sf.antcontrib.cpptasks.gcc
Class GccCCompiler

java.lang.Object
  |
  +--net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
        |
        +--net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
              |
              +--net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
                    |
                    +--net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler
                          |
                          +--net.sf.antcontrib.cpptasks.gcc.GccCompatibleCCompiler
                                |
                                +--net.sf.antcontrib.cpptasks.gcc.GccCCompiler

public final class GccCCompiler
extends GccCompatibleCCompiler

Adapter for the GCC C/C++ compiler

Author:
Adam Murdoch

Method Summary
 void addImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType)
           
static GccCCompiler getCppInstance()
          Gets singleton instance of this class
 java.io.File[] getEnvironmentIncludePath()
           
static GccCCompiler getGppInstance()
          Gets singleton instance of this class
 java.lang.String getIdentifier()
          Retrieve an identifier that identifies the specific version of the compiler.
static GccCCompiler getInstance()
          Gets singleton instance of this class
 Linker getLinker(LinkType linkType)
          Gets the linker that is associated with this processors
 
Methods inherited from class net.sf.antcontrib.cpptasks.gcc.GccCompatibleCCompiler
addIncludePath, addWarningSwitch, getDefineSwitch, getIncludeDirSwitch, getUndefineSwitch
 
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler
createParser
 
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand
 
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileName, parseIncludes, resolveInclude
 
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, getIdentifier, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static GccCCompiler getInstance()
Gets singleton instance of this class

getCppInstance

public static GccCCompiler getCppInstance()
Gets singleton instance of this class

addImpliedArgs

public void addImpliedArgs(java.util.Vector args,
                           boolean debug,
                           boolean multithreaded,
                           boolean exceptions,
                           LinkType linkType)
Overrides:
addImpliedArgs in class GccCompatibleCCompiler

getGppInstance

public static GccCCompiler getGppInstance()
Gets singleton instance of this class

getEnvironmentIncludePath

public java.io.File[] getEnvironmentIncludePath()
Overrides:
getEnvironmentIncludePath in class GccCompatibleCCompiler

getIdentifier

public java.lang.String getIdentifier()
                               throws org.apache.tools.ant.BuildException
Description copied from interface: Processor
Retrieve an identifier that identifies the specific version of the compiler. Compilers with the same identifier should produce the same output files for the same input files and command line switches.
Overrides:
getIdentifier in class CommandLineCompiler

getLinker

public Linker getLinker(LinkType linkType)
Description copied from interface: Processor
Gets the linker that is associated with this processors


Copyright © 2001-2002 Ant-Contrib project. All Rights Reserved.