Class CommandLineLinkerConfiguration

    • Constructor Detail

      • CommandLineLinkerConfiguration

        public CommandLineLinkerConfiguration​(CommandLineLinker linker,
                                              java.lang.String identifier,
                                              java.lang.String[][] args,
                                              ProcessorParam[] params,
                                              boolean rebuild,
                                              boolean map,
                                              boolean debug,
                                              java.lang.String[] libraryNames,
                                              java.lang.String startupObject)
    • Method Detail

      • bid

        public int bid​(java.lang.String filename)
        Description copied from interface: ProcessorConfiguration
        An indication of how much this compiler would like to process this file
        Specified by:
        bid in interface ProcessorConfiguration
        Returns:
        0 is no interest to process, 100 is strong interest to process
      • getEndArguments

        public java.lang.String[] getEndArguments()
      • getIdentifier

        public java.lang.String getIdentifier()
        Returns a string representation of this configuration. Should be canonical so that equivalent configurations will have equivalent string representations
        Specified by:
        getIdentifier in interface ProcessorConfiguration
      • getLibraryNames

        public java.lang.String[] getLibraryNames()
      • getMap

        public boolean getMap()
      • getOutputFileNames

        public java.lang.String[] getOutputFileNames​(java.lang.String inputFile,
                                                     VersionInfo versionInfo)
        Description copied from interface: ProcessorConfiguration
        Output file name (no path components) corresponding to source file
        Specified by:
        getOutputFileNames in interface ProcessorConfiguration
        Parameters:
        inputFile - input file
        Returns:
        output file names or zero-length array if no output file or name not determined by input file
      • getPreArguments

        public java.lang.String[] getPreArguments()
      • getRebuild

        public boolean getRebuild()
        Description copied from interface: ProcessorConfiguration
        If true, all files using this configuration should be rebuilt and any existing output files should be ignored
        Specified by:
        getRebuild in interface ProcessorConfiguration
      • getStartupObject

        public java.lang.String getStartupObject()
      • link

        public void link​(CCTask task,
                         TargetInfo linkTarget)
                  throws org.apache.tools.ant.BuildException
        Specified by:
        link in interface LinkerConfiguration
        Throws:
        org.apache.tools.ant.BuildException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object