Method and apparatus for versioning statically bound files
First Claim
1. A computerized method of saving version and product information of a library in an executable program, comprising:
- creating a version source file, the version source file containing a version function whose name comprises at least one of version information and product information of the library;
compiling the version source file to create a version object file;
rebuilding the library to include the version object file; and
building the executable program such that the version function whose name comprises at least one of version information and product information of the library is combined into the executable program.
6 Assignments
0 Petitions
Accused Products
Abstract
A method of storing version and product information of libraries used in the building of an executable file. For each library, a source file containing the version and product information is constructed, compiled and the resulting version object file is stored in the library. When the build of an executable occurs, the version object file for each of the libraries needed for the build is obtained and stored in a temporary area. A list is made of the names of the stored version object files and, when the executable is compiled, the list is submitted to the compiler command so that the version object files of each library are compiled into the executable file. In one alternative, a compound library formed from a selected set of libraries can be compiled into the executable. A utility program can be used to retrieve the stored version and product information in the executable.
-
Citations
17 Claims
-
1. A computerized method of saving version and product information of a library in an executable program, comprising:
-
creating a version source file, the version source file containing a version function whose name comprises at least one of version information and product information of the library;
compiling the version source file to create a version object file;
rebuilding the library to include the version object file; and
building the executable program such that the version function whose name comprises at least one of version information and product information of the library is combined into the executable program. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer implemented method comprising:
-
creating source code file containing a function whose name comprises version information of a library;
compiling the source code file to create an object file placed within the library; and
building an executable program using at least the function from the library such that the version information is contained in the executable program through the presence of the function. - View Dependent Claims (15, 16, 17)
-
Specification