arm gcc

最近遇到一个编译问题,两个ubuntu机器,kernel 版本稍有区别。结果同一套gcc 编译器, 一台电脑没问题,另一台报如下错误:

aarch64-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory

 

后下载最新gcc-linaro-7.4.1-2019.02-x86_64_aarch64-elf.tar.xz工具终于ok。

 

https://www.linaro.org/downloads/

 

Latest Linux Targeted Binary Toolchain Releases

arm-linux-gnueabihf 32-bit Armv7 Cortex-A, hard-float, little-endian Release-Notes Binaries Source
armv8l-linux-gnueabihf 32-bit Armv8 Cortex-A, hard-float, little-endian Release-Notes Binaries Source
aarch64-linux-gnu 64-bit Armv8 Cortex-A, little-endian Release-Notes Binaries Source

Latest Bare-Metal Targeted Binary Toolchain Releases

arm-eabi 32-bit Armv7 Cortex-A, soft-float, little-endian Release-Notes Binaries Source
aarch64-elf 64-bit Armv8 Cortex-A, little-endian Release-Notes Binaries Source
上一篇:software-rec – 注意采用可同步Android和Linux的应用程序


下一篇:OSCP Learning Notes - Capstone(2)