GCC cross-compilation chain naming

Source: Internet
Author: User

Naming format:

Arch [-Vendor] [-OS]-Abi

Arch: CPU architecture

Vendor: tool chain vendor

OS: the operating system running on the target. different operating systems correspond to different C libraries, such as newlib, glibc, and crt0. These different C libraries will be connected during the program connection phase.

Abi: Specifies the second-level file interface of the application to ensure that the Code Compiled by different compilation links is compatible. For example, arm Eabi is a standard established by arm companies, allowing a tool chain to connect to target files generated by other tool chains.

Example:

The arm-None-Eabi CPU adopts the ARM architecture and has no suppliers. The compiled program is not used in the operating system and the binary interface for compiling is arm Eabi. It is often used to compile bare metal systems (including Linux boot and kernel) in the ARM architecture ).

Arm-None-Linux-gnueabi the CPU is ARM-based and has no suppliers. The compiled program runs on the Linux operating system and the compiled binary interface is GNU Eabi. That is to say, it is used in Linux operating systems based on ARM architecture and is often used to compile U-boot, Linux kernel, and Linux applications of ARM architecture.

Arm-Eabi: arm compiler for Android

 

Reference: Lecture 3: toolchains

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.