Method and equipment for compiling operating system

An operating system and device technology, applied in the computer field, which can solve the problems of long time consumption, many compilation failures, long compilation time, etc.

Active Publication Date: 2020-10-30
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Then there are the following problems in the above compilation method: First, the compilation package update problem. There are about 2,000 SRPM packages in an operating system, and there are dependencies between various packages. If a certain The package is updated, and the operating system needs to be recompiled, which may take a long time; the second is that the compilation time is too long, because the compilation sequence cannot be determined, so the method of circular compila...

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 equipment for compiling operating system
  • Method and equipment for compiling operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0044] Based on the above purpose, the first aspect of the embodiments of the present invention proposes an embodiment of a method for compiling an operating system. figure 1 Shown is a schematic flow chart of the method.

[0045] Such as figure 1 As shown in , the method may include the following steps:

[0046] S1 parses the source data package (SRPM) to be compiled into a compiling dependency table and a compiling product table, decompresses the SRPM package to obtain a SPEC file, and obtains the compiling dependent package and the compiling product of the SRPM package according to the SPEC file;

[0047] S2 creates a compilation sequence table, and adds the dependencies in the compilation dependen...

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 method and equipment for compiling an operating system. The method comprises the following steps of: analyzing a source code data packet to be compiled into a compiling dependency table and a compiling product table; creating a compiling sequence table, and adding dependency items in the compiling dependency table into the compiling sequence table based on the compiling product table; sequentially compiling the plurality of packages in the compiling sequence table according to a sequence based on a compiling environment, and judging whether each time of compiling succeeds or not; and in response to successful compiling, compiling the next packet until compiling is completed. By using the scheme of the invention, the compiling time of the operating system can be greatly reduced, and the risk of compiling failure is reduced.

Description

technical field [0001] This field relates to the computer field, and more particularly relates to a method and device for compiling an operating system. Background technique [0002] The localization of the operating system is the fundamental guarantee for the localization of software, and it is a position that the software industry must conquer. The operating system plays an important role in connecting the past and the future in the localization of IT, undertaking the upper-level software ecology and the underlying hardware resources. Operating system products are facing a trade blockade, so self-reliance is imperative. At present, the compilation method of the operating system mainly relies on the open source minimal compilation system. The minimal compilation system builds its own minimal compilation environment, and then repeats the compilation in its own minimal compilation environment until the operating system is fully compiled. Finish. Then there are the followin...

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 SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
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