Class LdLinker

    • Field Detail

      • libtoolObjFiles

        private static final java.lang.String[] libtoolObjFiles
      • objFiles

        private static final java.lang.String[] objFiles
      • discardFiles

        private static final java.lang.String[] discardFiles
      • dllLinker

        private static final LdLinker dllLinker
      • instance

        private static final LdLinker instance
      • libDirs

        private java.io.File[] libDirs
    • Constructor Detail

      • LdLinker

        private LdLinker​(java.lang.String command,
                         java.lang.String[] extensions,
                         java.lang.String[] ignoredExtensions,
                         java.lang.String outputPrefix,
                         java.lang.String outputSuffix,
                         boolean isLibtool,
                         LdLinker libtoolLinker)
    • Method Detail

      • getInstance

        public static LdLinker getInstance()
      • clone

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

        public Linker getLinker​(LinkType type)
        Description copied from interface: Linker
        Gets the linker for the specified link type.
        Returns:
        appropriate linker or null, will return this if this linker can handle the specified link type
      • superlink

        private void superlink​(CCTask task,
                               java.io.File outputFile,
                               java.lang.String[] sourceFiles,
                               CommandLineLinkerConfiguration config)
                        throws org.apache.tools.ant.BuildException
        Throws:
        org.apache.tools.ant.BuildException