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

前端 未结 1 1948
既然无缘
既然无缘 2020-12-04 06:04

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

Do they compile differently?

相关标签:
1条回答
  • 2020-12-04 06:38

    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.

    0 讨论(0)
提交回复
热议问题