Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device of compiling modules

A module library and module header technology, applied in the field of compiling modules, can solve the problems of high compiling error rate and unfavorable software system maintenance, so as to achieve the effects of less error-prone, lower compiling error possibility, and convenient maintenance operation

Inactive Publication Date: 2018-07-20
SILEAD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method of solving inter-module dependencies in the prior art has the problem of high compilation error rate and is not conducive to the maintenance of software systems.

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
  • Method and device of compiling modules
  • Method and device of compiling modules
  • Method and device of compiling modules

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] As mentioned in the background technology, if the compilation command is executed in the directory of the module to be compiled to compile the module, and if the library of the dependent module of the module to be compiled does not exist, the compilation will fail. Compilation commands must be manually executed in strict order according to dependencies to compile each module successively to ensure successful compilation. However, the method for solving inter-module dependencies in the prior art has the problem of high compilation error rate and is not conducive to the maintenance of the software system. For example, once the compilation is stopped, the engineer needs to confirm whether the previous modules have been compiled in order to ensure that the subsequent compilation will not go wrong. Secondly, the efficiency of manual compilation is relatively low.

[0035] In the technical solution of the embodiment of the present invention, when the module to be compiled is...

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 discloses a method and a device of compiling modules. The method includes: acquiring a relied-on-module-library list, which corresponds to the to-be-compiled modules, when the to-be-compiled modules are compiled under module directories, wherein the relied-on-module-library list lists all relied-on module libraries on which the to-be-compiled modules rely, and the relied-on module libraries are associated with relied-on modules; and traversing the relied-on module libraries in the relied-on-module-library list, and finding paths of the relied-on modules in a module list under a transfer directory on the basis of the relied-on modules associated with the relied-on module libraries, wherein the paths of all the modules are recorded in the module list under the transfer directory. According to the above-mentioned scheme, the problem of dependency among the modules can be effectively solved, an error rate of compiling can be decreased while compiling efficiency is improved, and at the same time, maintenance of a software system can be facilitated.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for compiling modules. Background technique [0002] For large-scale software projects, compilation needs to solve the dependency problem. If a module calls the application programming interface (Application Programming Interface, API) of other modules, then the other modules are the dependent modules of the module. If the inter-module dependencies are not resolved properly, there may be a situation where a certain module cannot be compiled. [0003] In the prior art, if the compilation command is executed in the directory of the module to be compiled to compile the module, and if the library of the dependent module of the module to be compiled does not exist, then the compilation will fail and must be manually compiled in strict order according to the dependencies Each module can guarantee successful compilation. However, the method for solving inter-modu...

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
IPC IPC(8): G06F8/41
CPCG06F8/41
Inventor 赵文恒
Owner SILEAD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products