Actions

EmSys

Difference between revisions of "Toolchain - Name convention"

From EdWiki

m (Toolchain - Name convention)
m (Toolchain - Name convention)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
== Toolchain - Name convention ==
 
== Toolchain - Name convention ==
 
+
Toolchain name usually contains the so-called target triple, which is in the form of:
Toolchain has a name convention:
+
  
 
  <big>arch[-vendor][-os]-abi</big>
 
  <big>arch[-vendor][-os]-abi</big>

Revision as of 09:59, 19 April 2022

Toolchain - Name convention

Toolchain name usually contains the so-called target triple, which is in the form of:

arch[-vendor][-os]-abi
  • arch - architecture
    arm, mips, x86, i686, etc.
  • vendor - tool chain supplier
  • os - operating system
    linux, none (bare metal)
  • abi - application binary interface
    eabi, gnueabi, gnueabihf

Examples

arm-none-eabi

This toolchain targets the ARM architecture, has no vendor, does not target an operating system (i.e. targets a "bare metal" system), and complies with the ARM eabi. (Note) arm-elf and arm-none-eabi just use two versions of the ARM abi. The eabi toolchain uses a newer revision, but could also be called arm-elf-eabi, as it generates elf too.

i686-apple-darwin10-gcc-4.2.1

This toolchain targets the Intel i686 architecture, the vendor is Apple, and the target OS is Darwin version 10.

arm-none-linux-gnueabi

The toolchain that can be installed in Debian-based systems using a package manager like apt (the package is called gcc-arm-linux-gnueabi). This toolchain targets the ARM architecture, has no vendor, creates binaries that run on the Linux operating system, and uses the GNU EABI. In other words, it is used to target ARM-based Linux systems.

arm-linux-gcc

This is actually binary for gcc which produces objects for ARM architecture to be run on Linux with default configuration (abi) provided by toolchain.

i686-unknown-linux-gnu

32-bit GNU/linux

arm-eabi

Android ARM compiler

x86_64-w64-mingw32

x86_64 architecture means AMD64, w64 is actually mingw-w64 used as a "vendor" here, mingw32 is the same as win32 API for gcc's perspective.

i686-pc-msys

32-bit, "pc" is a generic name, msys binary