提示“riscv32-unknown-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory”

羊毛不卷

沙发 发表于 2023-11-6 09:45:19

提示“riscv32-unknown-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory”


当前用户对riscv编译器路径下的文件访问权限不够。
查询gcc_riscv32所在目录。
  1. which riscv32-unknown-elf-gcc
复制代码

使用chmod命令修改目录权限为755。




Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部