Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between arm-linux-gcc and arm-none-linux-gnueabi

Tags:

gcc

arm

What is the difference between arm-linux-gcc and arm-none-linux-gnueabi and arm-linux-gnueabi toolchains?

Do they compile differently?

like image 355
user1891109 Avatar asked Dec 10 '12 08:12

user1891109


People also ask

What does Gnueabi mean?

the eabi stands for the compilation of code which will run on bare metal arm core. the gnueabi stands for the compilation of code for linux.

What is aarch64 linux GNU?

GNU C compiler for the arm64 architecture This is the GNU C compiler, a fairly portable optimizing compiler for C. This is a dependency package providing the default GNU C cross-compiler for the arm64 architecture.


1 Answers

Toolchains have a loose name convention like arch[-vendor][-os]-abi.

  • arch is for architecture: arm, mips, x86, i686...
  • vendor is tool chain supplier: apple,
  • os is for operating system: linux, none (bare metal)
  • abi is for application binary interface convention: eabi, gnueabi, gnueabihf

For your question, arm-none-linux-gnueabi and arm-linux-gnueabi is same thing. arm-linux-gcc is actually binary for gcc which produces objects for ARM architecture to be run on Linux with default configuration (abi) provided by toolchain.

Some nice reading: Toolchains.

like image 198
auselen Avatar answered Oct 12 '22 11:10

auselen