Compilation Tools naming rules
Cross compiler tool chain naming rule is: arch [-vendor] [-os] [- (gnu) eabi]
- arch - architecture, such as ARM, MIPS
- vendor - tool chain providers
- os - the target operating system
- eabi - Embedded Application Binary Interface (Embedded Application Binary Interface)
The support for the operating system or not, ARM GCC can be divided into supported and not supported operating systems, such as
arm-none-eabi:
This is not an operating system, naturally can not support those functions closely related with the operating system, such as fork (2). He uses this newlib dedicated to embedded system C library.
arm-none-linux-eabi: for Linux, use Glibc
Examples
arm-none-eabi-gcc
(ARM architecture, no vendor, not target an operating system, complies with the ARM EABI)
used to compile the ARM architecture bare metal system (including the ARM Linux boot, kernel, NA compile Linux applications Application), generally suitable for ARM7, Cortex- chip uses M and Cortex-R core, so I do not support those functions closely related with the operating system, such as fork (2), he uses this newlib dedicated to embedded system C library.
arm-none-linux-gnueabi-gcc
(ARM architecture, no vendor, creates binaries that run on the Linux operating system, and uses the GNU EABI)
primarily intended for Linux systems based on ARM architecture, the ARM architecture can be used to compile u-boot, Linux kernel, linux applications. arm-none-linux-gnueabi based GCC, Glibc to use the library, after Codesourcery company introduced optimized compilers. arm-none-linux-gnueabi- xxx cross compiler tools floating-point arithmetic is very good. General ARM9, ARM11, Cortex-A core, with the Linux operating system will be used.
download
arm-none-eabi-gcc
Address: https://launchpad.net/gcc-arm-embedded
Note : Use this tool to compile (gcc-arm-none-eabi -5_4-2016q2) in a8, when compiling uboot started in uboot, unable to initialize nand success.
arm-none-linux-gnueabi-gcc
Mentor official Download (requires registration, after registration official will send a download address to the mail inside)
Address: http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/evaluations
network disk download: HTTP : //www.veryarm.com/arm-none-linux-gnueabi-gcc
Original: Large column arm cross compiler tools