Compiler tool set for efficiently generating and easily managing multiple program versions of different types
Abstract
A compiler tool set manages the complexity of efficiently maintaining multiple versions of a program. This tool set generates various version types of a program in a manner that is easy to use, that is compatible with existing program generation build scripts and makefiles, and that minimizes recompilation. When the compiler of the present invention is invoked by a programmer command, a build script, or a makefile, it produces an augmented object file that contains sufficient information to subsequently generate different versions of the program. Subsequently, the linker of the present invention is invoked specifying the augmented object files to be linked and the version type to be produced as an executable file. The linker maintains a program and object module database that can hold substitution object modules corresponding to each (augmented object file, version type) pair. If any substitution object modules required to satisfy the user's request are missing or are not current in the database, then the linker invokes the compiler to generate them from the augmented object file. Function-by-function equivalence detection and dependency analysis minimize the number of substitu
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 112.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system comprising: a compiler to compile a user-specified source program into an augmented object module, and to compile said augmented object module into substitution object modules of a plurality of version types; a database to hold said substitution object modules; and a linker, coupled to said compiler and to said database, to link a user-specified augmented object module into an executable program of one of a plurality of user-specified version types, wherein if said version type is an ordinary version type, said user-specified augmented object module is linked into said ex
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗