Class OpenWatcomCCompiler

  • All Implemented Interfaces:
    java.lang.Cloneable, Compiler, Processor

    public final class OpenWatcomCCompiler
    extends OpenWatcomCompiler
    Adapter for the OpenWatcom C Compiler.
    • Constructor Detail

      • OpenWatcomCCompiler

        private OpenWatcomCCompiler​(java.lang.String command,
                                    boolean newEnvironment,
                                    org.apache.tools.ant.types.Environment env)
        Constructor.
        Parameters:
        command - String command
        newEnvironment - boolean use new environment
        env - Environment environment
    • Method Detail

      • getInstance

        public static OpenWatcomCCompiler getInstance()
        Get compiler.
        Returns:
        OpenWatcomCCompiler compiler
      • createParser

        public Parser createParser​(java.io.File source)
        Create parser.
        Specified by:
        createParser in class AbstractCompiler
        Parameters:
        source - File file to be parsed.
        Returns:
        Parser parser
      • getLinker

        public Linker getLinker​(LinkType type)
        Get linker.
        Parameters:
        type - link type
        Returns:
        linker