1. 安装完成后,再执行“aarch64-himix100-linux-gcc -v”,即可出现gcc的版本信息,表示gcc安装成功。之后可执行make命令。
ffmpeg: /opt/hisi-linux/x86-arm/aarch64-himix100-linux/host_bin/../lib/gcc/aarch64-linux-gnu/6.3.0... R_AARCH64_ADR_PREL_PG_HI21 重定向于符号 “sinh@@GLIBC_2.17”有冲突 /opt/hisi-linux/x86-arm/aarch64-himix100-linux
Configured with: /home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/configure --build=i386-redhat-linux --host=i386-redhat-linux --target=aarch64-linux-gnu --with-arch=armv8-a --prefix=/home/sying/SDK_CPU_UNIFIED/build/script/aa...
COLLECT_GCC=aarch64-himix100-linux-gcc COLLECT_LTO_WRAPPER=/opt/hisi-linux/x86-arm/aarch64-himix100-linux...--build=i386-redhat-linux --host=i386-redhat-linux --target=aarch64-linux-gnu --with-arch=armv8-a --.../configure --host=aarch64-linux --prefix=/opt/files/release/strace/...
ffmpeg: /opt/hisi-linux/x86-arm/aarch64-himix100-linux/host_bin/../lib/gcc/aarch64-linux-gnu/6.3.0/../../../../aarch64-linux-gnu/bin/ld: libavutil/eval.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against... 查看原文
./libexec/gcc/aarch64-linux-gnu/6.3.0/lto-wrapper Target: aarch64-linux-gnu Configured with: /home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/configure --build=i386-redhat-linux --host=i386-redhat-linux --target=aarch64-linux...
交叉编译器虽然安装了,但是交叉编译器的运行缺少库文件,这是因为宿主机是64 位 而交叉编译器是针对32位的开发板制作的。所以要安装对应的32位库。 sudo apt install lib32z1-dev 1. 安装完成后,再执行“aarch64-himix100-linux-gcc -v”,即可出现gcc的版本信息,表示gcc安装成功。之后可执行make命令。
4,x86编译测试 5,aarch64平台交叉编译 6,Q&A 7,参考 1,主机环境 root@ubuntu:~# lsb_release -a No LSB modules are available.../bootstrap 4,x86编译测试 # 配置 time ...平台交叉编译 # 配置 time CC=aarch64-himix100-linux-gcc LD=aarch64-himix100-linux-ld RANLIB=aarch64-himix100-linux...