File compilation method and device

A compiling method and file technology, applied in the computer field, can solve problems such as failure to find functions and compilation failures

Inactive Publication Date: 2018-03-09
HANGZHOU DPTECH TECH
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, if an executable program file needs to call a function in a shared library file, it is necessary to specify the shared library file as the dependent file of the executable program file in the Makefile of the executable program file, otherwise compile When the compiler compiles the executable program file, the compilation will fail because it cannot find the functions in the shared library

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File compilation method and device
  • File compilation method and device
  • File compilation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0019] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a file compilation method and device. The method comprises steps as follows: when a compilation order is received, a first shared library file on which a to-be-compiled executable program file depends is acquired, and a second shared library file on which the first shared library file depends is acquired; the second shared library file is taken as a dependent file to be added to a dependency list in Makefile of the executable program file; when the condition that the generation time of the dependent file is later than that of the executable program file, the executable program file is compiled again. According to the technical scheme, compilation time can be shortened, compilation resources are saved, and complexity of compilation is reduced.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a file compiling method and device. Background technique [0002] Linux is an operating system mainly implemented by C language, which is widely used in various computer devices (such as mobile phones, tablet computers, routers, data center servers, etc.). There are two main types of files containing program code in the Linux system: executable program files and shared library files. The Linux system starts a process by executing an executable program file to complete a specific task. Different processes may call the same function to achieve the same function, for example: almost all processes will involve memory management, and these processes will call the memory management function to realize the memory management function. These same functions are usually packaged in function library files of the Linux system, and these function library files are called shared l...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41
CPCG06F8/443
Inventor 符志清
Owner HANGZHOU DPTECH TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products