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
    • Field Summary

      • Fields inherited from interface org.codehaus.mojo.natives.linker.Linker

        ROLE
    • Constructor Summary

      Constructors 
      Constructor Description
      GccLinker()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.codehaus.plexus.util.cli.Commandline createLinkerCommandLine​(java.util.List<java.io.File> objectFiles, LinkerConfiguration config)  
      protected java.lang.String getLinkerOutputOption()  
      protected void setCommandLineForExternalLibraries​(org.codehaus.plexus.util.cli.Commandline cl, LinkerConfiguration config)
      Setup Commandline to handle external library depending on extention type
      • Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled

        enableLogging, getLogger, setupLogger, setupLogger, setupLogger
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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