4000 What is the difference between arm-linux-gcc and arm-none-linux-gnueabi and arm-linux-gnueabi toolch
2017-06-23 16:55
330 查看
Toolchains have a loose name convention like arch[-vendor][-os]-abi.
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.
shareimprove this answer
edited Nov 14 ‘14 at 11:23
answered Dec 10 ‘12 at 9:33
auselen
20.2k34680
4
This might be true, but really, there’s not enough information to be sure. You need to know about the provenance of the toolchain. Non-“gnueabi” toolchains are probably quite rare, however. – ams Dec 10 ‘12 at 9:41
Are you talking about arm-linux-gcc? or can you clarify? – auselen Dec 10 ‘12 at 9:46
It’s worth pointing out that tool-chains are configured with default header and library search paths. When cross-compiling, these should be pointing at the target image not the development machine’s own headers and libraries. Thus you can easily end up with a compiler which reports its specification as arm-none-linux-gnueabi that actually compile with slightly different results. You can check this with gcc -print-sysroot – marko Dec 10 ‘12 at 9:50
@auselen: Yes, arm-linux seems ambiguous to me. I’ve not checked, and it might be that in current gcc that’s a synonym, but I’ll bet it’s meant something different in the past. Besides, the triplet only specifies the default config, and the toolchain could have been built with other settings enabled; in that case, I would choose the generic triplet rather than have it lie. – ams Dec 10 ‘12 at 9:55
@ams if I understand you correctly, you say arm-linux-gcc executes default settings as toolchain have been built. yes you are definitively right. – auselen Dec 10 ‘12 at 9:58
show 3 more comments
原文地址:https://stackoverflow.com/questions/13797693/what-is-the-difference-between-arm-linux-gcc-and-arm-none-linux-gnueabi
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.
shareimprove this answer
edited Nov 14 ‘14 at 11:23
answered Dec 10 ‘12 at 9:33
auselen
20.2k34680
4
This might be true, but really, there’s not enough information to be sure. You need to know about the provenance of the toolchain. Non-“gnueabi” toolchains are probably quite rare, however. – ams Dec 10 ‘12 at 9:41
Are you talking about arm-linux-gcc? or can you clarify? – auselen Dec 10 ‘12 at 9:46
It’s worth pointing out that tool-chains are configured with default header and library search paths. When cross-compiling, these should be pointing at the target image not the development machine’s own headers and libraries. Thus you can easily end up with a compiler which reports its specification as arm-none-linux-gnueabi that actually compile with slightly different results. You can check this with gcc -print-sysroot – marko Dec 10 ‘12 at 9:50
@auselen: Yes, arm-linux seems ambiguous to me. I’ve not checked, and it might be that in current gcc that’s a synonym, but I’ll bet it’s meant something different in the past. Besides, the triplet only specifies the default config, and the toolchain could have been built with other settings enabled; in that case, I would choose the generic triplet rather than have it lie. – ams Dec 10 ‘12 at 9:55
@ams if I understand you correctly, you say arm-linux-gcc executes default settings as toolchain have been built. yes you are definitively right. – auselen Dec 10 ‘12 at 9:58
show 3 more comments
原文地址:https://stackoverflow.com/questions/13797693/what-is-the-difference-between-arm-linux-gcc-and-arm-none-linux-gnueabi
相关文章推荐
- /usr/local/arm/4.4.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.3/../../../../arm-none-linux-gnueabi/
- 建立ARM交叉编译环境 (arm-none-linux-gnueabi-gcc with EABI)
- 基于Linux x86_64系统编译arm-gcc-4.8: arm-none-eabi-gcc
- 建立ARM交叉编译环境 (arm-none-linux-gnueabi-gcc with EABI)
- arm-2009q1-203-arm-none-linux-gnueabi.bin安装方法
- 建立ARM交叉编译环境 (arm-none-linux-gnueabi-gcc with EABI)
- Linux下配置交叉编译环境arm-none-eabi-gcc
- 一步一步教你怎么编译GNU ARM GCC 交叉编译器 arm-none-eabi-gcc (原发于:2012-07-23 23:53:32)
- 一步一步教你怎么编译GNU ARM GCC 交叉编译器 arm-none-eabi-gcc
- arm-none-linux-gnueabi vs arm-linux – EABI vs Non-EABI
- arm-2009q1-203-arm-none-linux-gnueabi.bin执行错误解决
- arm-none-linux-gnueabi vs arm-linux – EABI vs Non-EABI
- 一步一步教你怎么编译GNU ARM GCC 交叉编译器 arm-none-eabi-gcc
- linux安装gcc-arm-none-eabi
- linux安装gcc-arm-none-eabi
- [嵌入式Linux]--arm交叉编译器gnueabi、none-eabi、arm-eabi、gnueabihf、gnueabi区别
- arm交叉编译器gnueabi、none-eabi、arm-eabi、linux-gnueabihf、linux-gnueabi区别
- 一步一步教你怎么编译GNU ARM GCC 交叉编译器arm-none-eabi-gcc
- arm-2009q1-203-arm-none-linux-gnueabi.bin安装方法
- Ubuntu 16.04 下 arm-none-linux-gnueabi 的安装