Class GccCCompiler

    • Method Detail

      • getCppInstance

        public static GccCCompiler getCppInstance()
        Gets c++ adapter
      • getG77Instance

        public static GccCCompiler getG77Instance()
        Gets g77 adapter
      • getGppInstance

        public static GccCCompiler getGppInstance()
        Gets gpp adapter
      • getInstance

        public static GccCCompiler getInstance()
        Gets gcc adapter
      • clone

        protected java.lang.Object clone()
                                  throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class AbstractProcessor
        Throws:
        java.lang.CloneNotSupportedException
      • createParser

        protected Parser createParser​(java.io.File source)
        Create parser to determine dependencies. Will create appropriate parser (C++, FORTRAN) based on file extension.
        Overrides:
        createParser in class CommandLineCCompiler
      • 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.
        Specified by:
        getIdentifier in interface Processor
        Overrides:
        getIdentifier in class CommandLineCompiler
        Throws:
        org.apache.tools.ant.BuildException
      • getLinker

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