MyFPGA Forum

标题: 【FAQ】DE1-SoC在Ubuntu系统 SoC EDS 20.1环境中交叉编译出错 [打印本页]

作者: wyzhou    时间: 2020-11-27 11:30
标题: 【FAQ】DE1-SoC在Ubuntu系统 SoC EDS 20.1环境中交叉编译出错
本帖最后由 wyzhou 于 2020-11-27 17:03 编辑

Q: DE1-SoC开发板,在 Ubuntu系统 SoC EDS 20.1环境中交叉编译my_first_hps-fpga 工程。
运行make命令报错 make: arm-linux-gnueabihf-gcc: command not found时,该如何解决呢?

A:20.1版本的SoC EDS + DS5沒有包含arm-linux-gnueabihf toolchain。
如果是ubuntu,可以使用指令:sudo apt install gcc-arm-linux-gnueabihf 进行编译链安装。
并注意编译前,执行命令:
~/intelFPGA/20.1/embedded/embedded_command_shell.sh
确认添加gcc 工具链后,编译是可以正常进行的。





欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3