×

Compiler and method for avoiding unnecessary recompilation

  • US 5,854,932 A
  • Filed: 08/17/1995
  • Issued: 12/29/1998
  • Est. Priority Date: 08/17/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. In a system for building a program executable on a computer, a method of minimizing rebuilding of the program following a revision, the method comprising the steps of:

  • when building the program prior to the revision, compiling a source code file and at least one header file included by the source code file into an object code file;

    analyzing dependencies of the object code file on classes declared in the at least one header file;

    generating dependency data which approximates the dependencies of the object code file on the classes;

    detecting changes to the classes from the revision;

    generating change data relating to the changes to the classes;

    calculating an intersection of the dependency data with the change data;

    recompiling the source code file except when the intersection is nil and when the source code file is unchanged in the revision.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×