Patent ID: 8935659
Filing Date: 2015-01-13
Classification: G06F

Abstract:
1. A method for generating software, comprising at least two software components, from source files associated with the software components, the source files including: variables initialized at zero, and variables initialized at specific values, capable of being run on a terminal including: a physical memory, and an operating system without virtual memory, wherein the physical memory includes: the method including, for each software component, at least one of which is capable of a specific restart when the software is run, the following steps: a compilation step, using a compiler capable of allocating, for each source file, the variables initialized at zero to a data storage segment, the initialized variables to a data segment, and the specific values of the initialized variables to a data initialization segment, and of converting the source files into object files, and a linkage editing step, using a linkage editor capable of grouping together the variables initialized at zero, the initialized variables, and their specific values in a respective block within their allocated respective segment, capable of assigning a predetermined zone of the memory for each block and capable of grouping together the object files to form an executable file corresponding to the software, wherein the method also comprises, for at least one software component suitable for a restart: a step of renaming the data storage segment, the data segment, and the data initialization segment, associated with each object file of the software component to be restarted, and a step of configuring the linkage editor, intended to perform a specific linkage editing step suitable for repositioning values of the initialized variables of the renamed data segment at the specific values resulting from the renamed data initialization segment, and values of the variables initialized at zero of the renamed data storage segment, when the software component is restarted.