Method and apparatus for architecture independent executable files
AssigneeNeXT Computer, Inc.
InventorsAvadis Tevanian, Michael DeMoney, Kevin Enderby, Douglas Wiebe, Garth Snyder
Life of this patent
Estimating the term…
Loading patent…
AssigneeNeXT Computer, Inc.
InventorsAvadis Tevanian, Michael DeMoney, Kevin Enderby, Douglas Wiebe, Garth Snyder
Estimating the term…
The present invention is a method that enables single release of applications for multiple architectures and operating systems and to provide ease of use of applications in multiple architecture environments. The present invention provides a single file that contains separate object code each of multiple architectures. A special header on the file identifies each section of object code and includes pointers to its starting location. When the file is to be executed on a particular architecture, the resident operating system identifies that block of object code most suited for that particular architecture and environment. That section of code is then loaded into memory for execution. Each architecture in the file is specified by CPU-type and CPU sub-type. For each CPU type or CPU sub-type, file offset, file size and alignment is also provided. Padded bytes are provided to place each member on its specific alignment. These padded bytes are undefined and can be left as "holes" if the file system cannot support them. The appropriate architecture can be picked at compile time and compilers that can run on any architecture are provided to perform the translation.
A method of opening an architecture independent executable file containing a plurality of blocks of executable code for each of a plurality of Central Processing Unit (CPU) types for use with a desired CPU type of a computer system comprising the steps of:
Dependencies are inferred from the claim text.