Automatic minimal build dependency determination and building an executable with source code
US7818730B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Jun 30, 2006 |
| Grant date | Oct 19, 2010 |
| Priority date | — |
| Expiry date | Jun 23, 2029 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/41
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
The present invention provides a method and system for building an executable using only the necessary source modules or a reduced set of source modules. The complete list of necessary source modules can be determined by checking for dependency of any already identified necessary source modules. Hence, if any of the source modules belongs to a library, the entire library will not need to be compiled in order to use any necessary source module to build the executable. The present invention has the advantage that the executable takes shorter time to build and the executable is smaller in memory size so that it is easier to be ported to a target system. The present invention may also be used to minimize or reduce the memory needed to load a model so that only the elements/blocks that are used in the model are loaded into memory when a model loads. The present invention may further be used to minimize or reduce efforts in validating a model by creating a new library containing only the library elements/blocks that are used in the model, so that it is easy to identify which library elements/blocks need to be validated.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.