Method for creating unified binary files
AssigneeOracle America, Inc.
InventorRaj Prakash
Life of this patent
Estimating the term…
Abstract
A method for creating a unified binary file that may be executed on a plurality of hardware platforms. The unified binary file includes hardware independent code and a plurality of hardware dependent binary files for a variety of hardware platforms. When the unified binary file is executed on a supported hardware platform, an appropriate hardware dependent file is identified and installed. A method for preparing a software package supported on a plurality of hardware platforms for distribution. A unified binary file is created for each corresponding file of the software package. Each unified binary file includes installation directory information and dependent file information.
Claims17
A method for providing a unified binary file, using at least one processor, the method comprising:
- providing a first binary file of a software program executable on a first hardware platform;
- providing a second binary file of the software program executable on a second hardware platform;
- providing a file including code executable on the first hardware platform and the second hardware platform that selects the first binary file when executed on one of the first hardware platform and the second binary file when executed on the second hardware platform;
- and
- generating a unified binary file, comprising the first binary file, the second binary file, and the file by:
- inserting the first binary file into the file as a first subroutine;
- and
- inserting the second binary file into the file as a second routine, wherein the first subroutine and the second subroutine comprise directory level information identifying where the corresponding binary file is to be installed and an indicator, the indicator identifying whether a dependent platform specific binary file is to be installed.
A unified binary file stored on a non-transitory computer-readable storage medium, comprising:
- a platform independent code file which when executed on a target hardware platform identifies a processor type of the target hardware platform, determines a matching platform specific file based at least in part on the processor type, recovers the matching platform specific file stored on the computer-readable storage medium and saves the recovered file to a particular directory location on the target hardware platform;
- a first platform specific binary file;
- and
- a second platform binary specific file, wherein the first platform specific binary file is inserted into the platform independent code file as a first subroutine and the second platform specific binary file is inserted into the platform independent code file as a second subroutine, the first subroutine and the second subroutine comprising directory level information identifying where the corresponding binary file is to be installed and an indicator, the indicator identifying whether a dependent platform specific binary file is to be installed.
A method for preparing a software package supported on a plurality of hardware platforms for distribution, using at least one processor, the method comprising:
- providing a plurality of files associated with a software package;
- generating a plurality of unified binary files, each unified binary file including at least two platform specific binary files for a corresponding one of the plurality of files, wherein each of the at least two platform specific binary files are inserted into the platform independent code file as a subroutine, each subroutine comprising installation directory information identifying where the at least one platform specific binary file is to be installed and an indicator, the indicator identifying whether a dependent platform specific binary file is to be installed;
- and
- generating a platform independent code segment, the platform independent code segment executable on the plurality of hardware platforms.
Dependencies are inferred from the claim text.