当前位置:网站首页>Solution: riscv nucleus elf gcc: command not found/ Makefile:78: recipe for target ‘rv32ui-p-simple‘ faile
Solution: riscv nucleus elf gcc: command not found/ Makefile:78: recipe for target ‘rv32ui-p-simple‘ faile
2022-06-09 06:36:00 【Jie_ MSD】
solve :riscv-nuclei-elf-gcc: Command not found ../Makefile:78: recipe for target 'rv32ui-p-simple' failed make: *** [rv32ui-p-simple] Error 127
…/Makefile:78: recipe for target ‘rv32ui-p-simple’ failed make: *** [rv32ui-p-simple] Error 127)
stay linux Install Hummingbird E203 The compiler of gcc Wrong time
[email protected]:~/e203_hbirdv2/riscv-tools/riscv-tests/isa$ source regen.sh
make: Entering directory ‘/home/ubuntu/e203_hbirdv2/riscv-tools/riscv-tests/isa/generated’
/home/ubuntu/e203_hbirdv2/riscv-tools/riscv-tests/isa/…/…/prebuilt_tools/prefix/bin/riscv-nuclei-elf-gcc -march=rv32imafdc -mabi=ilp32 -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles -I…//…/env/p -I…//macros/scalar -T…//…/env/p/link.ld …/rv32ui/simple.S -o rv32ui-p-simple
make: /home/ubuntu/e203_hbirdv2/riscv-tools/riscv-tests/isa/…/…/prebuilt_tools/prefix/bin/riscv-nuclei-elf-gcc: Command not found
…/Makefile:78: recipe for target ‘rv32ui-p-simple’ failed
make: *** [rv32ui-p-simple] Error 127
make: Leaving directory ‘/home/ubuntu/e203_hbirdv2/riscv-tools/riscv-tests/isa/generated’
Solution
https://blog.csdn.net/liudehuadelianxi/article/details/106873601
According to the report ( Look at... In contrast )
make: /home/ubuntu/e203_hbirdv2/riscv-tools/riscv-tests/isa/…/…/prebuilt_tools/prefix/bin/riscv-nuclei-elf-gcc: Command not found
Can't find riscv-nuclei-elf-gcc The location of
Find here :
find / -name riscv-nuclei-elf-gcc
After finding it RISCV_PREFIX, This parameter , Repositioning gcc-riscv Tool chain
sudo nano Makefile
change Makefile The first 32 Yes 
linux There are two points in the instruction “…” Represents a higher level , Count it .
result

It's a success !!
边栏推荐
- Chapter_ 04 image operation
- 戒烟日志_02 (day_06)
- Bat renames files (folders) in batch
- How to import the ebook downloaded from the computer into the mobile Kindle app
- LDAP application: openldap integrated into jumpserver
- RNN foundation of NLP Foundation
- “TypeError: ‘list‘ object is not callable”
- BSP tailoring of Quanzhi platform (7) rootfs tailoring -- tailoring of user tools and Libraries & rootfs compression
- 全志平台BSP裁剪(1)kernel裁剪--调试工具和调试信息的裁剪
- sparksql处理数据倾斜问题常见思路
猜你喜欢

Bladed v4.3 installation (Pojie) process

Two integers compare sizes. Why is 100 equal to 1001000 not equal to 1000?

Bladed software windfile calculation

Overview of convolutional neural network and simple case

fastadmin 自定义导出的excl表名称+时间

UML系列文章(25)高级行为---状态图

内核中的互斥与同步

TypeScript

全志V3s学习记录(11)音频、视频使用总结

Exponential moving weighted average
随机推荐
Chapter_ 01 mat: basic image container
UML Series (27) Architecture Modeling - Deployment
量化交易之MySql篇 - mysql数据库 增删改查
MySQL password is correct but cannot log in
“TypeError: ‘list‘ object is not callable”
MySQL version 8.0.28 installation and configuration method graphic tutorial
Ping: xxx: unknown name or service reason analysis
Example of flow chart, sequence diagram and Gantt chart of typera
Deep learning used mobile phone price forecast
Chapter_ 04 image operation
BSP tailoring (2) attachment 1 General setup configuration description
Warning : `load_ model` does not return WordVectorModel or SupervisedModel any more, but a `FastText`
编译报错: Could not find a package configuration file provided by “CGAL“ ... CGALConfig.cmake 解决方法
微信小程序页面滚动至底部
ping: XXX: 未知的名称或服务原因分析
戒烟日志_03 (day_07)
Modularity in typescrtipt
Wechat applet page scrolls to the bottom
全志V3s学习记录--ESP8089的使用
Comparison between ZGC and G1 and the meaning of color points