Class GccLinker

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

    @Component(role=Linker.class,
               hint="mingw",
               instantiationStrategy="per-lookup")
    public final class GccLinker
    extends AbstractLinker
    Generic MinGW linker with "-o " as its output option
    • Constructor Detail

      • GccLinker

        public GccLinker()
    • Method Detail

      • getLinkerOutputOption

        protected java.lang.String getLinkerOutputOption()
        Returns:
        output option flag of a generic C linker
      • setCommandLineForExternalLibraries

        protected void setCommandLineForExternalLibraries​(org.codehaus.plexus.util.cli.Commandline cl,
                                                          LinkerConfiguration config)
                                                   throws NativeBuildException
        Setup Commandline to handle external library depending on extention type
        Parameters:
        cl - Commandline
        config - LinkerConfiguration
        Throws:
        NativeBuildException