Linux交叉编译工具配置
打开bashrc文件:vim /root/.bashrc,加入如下代码:
export CROSS_COMPILE=arm-xilinx-linux-gnueabi-
export PATH=/disk_ext/opt/Xilinx_2015.4/SDK/2015.4/gnu/arm/lin:$PATH
source /disk_ext/opt/Xilinx_2015.4/SDK/2015.4/settings64.sh
最后一行注意修改sh文件解决awk的错误提示。
参考资料:
http://www.wiki.xilinx.com/Install+Xilinx+tools
The Xilinx tools provide the following cross toolchains:
Target Architecture | x-tool prefix |
Zynq-7000 (CodeSourcery - soft float) | arm-xilinx-linux-gnueabi- |
Zynq-7000 (Linaro - hard float) | arm-linux-gnueabihf- |
Zynq UltraScale+ MPSoC (ZynqMP) | aarch64-linux-gnu- |
Microblaze little endian | microblazeel-xilinx-linux-gnu- |
Microblaze big endian | microblaze-xilinx-linux-gnu- |
PowerPC | powerpc-eabi- |