Source code compiling method, executable file running method and terminal equipment
A technology for executing files and compiling methods, which is applied in the computer field and can solve the problems of low storage space utilization rate of terminal equipment, difficulty in meeting storage requirements, and occupying storage space, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] A source code compiling method provided by Embodiment 1 of the present application is described below, please refer to the attached figure 1 , the source code compilation method includes:
[0047] In step S101, determine the target parameter contained in the source code to be compiled, the target parameter is a parameter used only in the preset stage of execution of the executable file, and the executable file is the compiled file corresponding to the compiled source code .
[0048] In the embodiment of this application, the number of "target parameters" determined in step S101 may be multiple or one, and this application does not limit the number of the above-mentioned target parameters determined.
[0049] The inventive idea of the embodiment of the present application is to continuously store the parameters used only in the preset stage of the execution of the executable file, so that after the preset stage is over, the terminal device that executes the executable...
Embodiment 2
[0075] The following describes the execution method of the executable file provided by the second embodiment of the application, please refer to the attached figure 2 , the run method includes:
[0076] In step S201, an executable file containing a target parameter is obtained, the target parameter is a parameter used only in the preset stage of running the executable file, and the executable file is used to indicate that in the executable file During operation, a storage address for storing the target parameter, wherein the storage space corresponding to the storage address is a continuous storage space;
[0077] In the second embodiment of the present application, the executable file obtained in the above step S201 can be obtained through the step S103 in the above embodiment one, such as image 3 As shown, the terminal device 300 is a terminal device that runs the executable file running method described in the second embodiment of the present application, wherein the exe...
Embodiment 3
[0087] Such as Figure 4 As shown, it is a schematic structural diagram of a source code compiling device provided in Embodiment 3 of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown. The source code compiling device 400 includes:
[0088] The target parameter determination module 401 is used to determine the target parameter contained in the source code to be compiled, the target parameter is a parameter used only in the preset stage of execution of the executable file, and the executable file is the source code corresponding to the source code to be compiled compiled file;
[0089] A storage address determining module 402, configured to determine a storage address for storing the target parameter when the compiled executable file is running when compiling the source code to be compiled, wherein the storage address corresponds to The storage space of is continuous storage space;
[009...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


