Class GNUCOBOLLinker

  • All Implemented Interfaces:
    Linker, org.codehaus.plexus.logging.LogEnabled

    @Component(role=org.codehaus.mojo.natives.linker.Linker.class,
               hint="gnucobol",
               instantiationStrategy="per-lookup",
               description="GNU Cobol linker")
    public class GNUCOBOLLinker
    extends AbstractLinker
    GNU COBOL linker with "-o " as its output option.

    No build-mode flag is passed, so cobc applies its own default of "-m", which produces a dynamically loadable module. To produce an executable instead, pass "-x" through the linker start options.