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

Universal cross compiling method and device

A cross-compilation and package installation technology, applied in code compilation, program code conversion, etc., can solve problems such as difficulties, complex cross-compilation, cumbersome framework construction and use, and achieve the effect of convenient operation and improved execution efficiency

Active Publication Date: 2019-03-19
武汉思普崚技术有限公司
View PDF9 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the same time, the dependent library of the code will also have its own dependencies. It is this complex dependency that makes cross-compilation a little complicated and difficult.
[0003] Most of the existing technologies are only research on building a compilation environment, or optimization analysis of compilation method performance, and there is no automatic solution to this complex dependency
For applications in other languages ​​or with less dependent packages, for example, the cross-compilation of the Python library that is currently used is not universal, and the construction and use of the entire framework are cumbersome and time-consuming

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
  • Universal cross compiling method and device
  • Universal cross compiling method and device
  • Universal cross compiling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention. In addition, the technical features in each embodiment or a single embodiment provided by the present invention can be combined arbitrarily with each other to form a feasible technical solution, but it must be based on the realization of those skilled in the art. When there is a contradiction or cannot be realized, it should be considered that ...

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 embodiment of the invention provides a universal cross compiling method and device. The method comprises the following steps: obtaining dependency packets from to-be-compiled installation packets,and sorting the dependency relationships among the dependency packets in the to-be-compiled installation packets to obtain sorted to-be-compiled installation packets; combining the sequenced to-be-compiled installation packages with a cross compiling tool chain to obtain a universal cross compiling framework; Wherein the universal cross compiling framework is used for compiling program codes, andthe dependency packet comprises to-be-compiled software. According to the general cross compiling method and device provided by the embodiment of the invention, the automatic determination mechanismof the dependency packet dependency relationship is introduced in the process of establishing the cross compiling framework, so that the cross compiling operation is facilitated, and the execution efficiency of cross compiling is improved.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a general cross-compilation method and device. Background technique [0002] In order to adapt to different hardware platforms, related software is often cross-compiled. For example, the commonly used development and compilation environment is generally the x86 platform. When the development code needs to run across platforms, and the target platform cannot meet the compilation requirements. Cross-compilation is needed to compile the code into an executable program that can run on the target platform. Generally speaking, cross-compilation needs to build the compilation environment of the target platform on the current platform first, and then compile the code. During the compilation process, the code generally has corresponding dependent libraries, such as c database and various packages of python. Wait, only by solving the compilation of these depen...

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/41
Inventor 刘仙凤
Owner 武汉思普崚技术有限公司
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