Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make failed...error #20

Open
crayon7442 opened this issue Apr 16, 2023 · 1 comment
Open

make failed...error #20

crayon7442 opened this issue Apr 16, 2023 · 1 comment

Comments

@crayon7442
Copy link

'makefile:8: *** riscv32-unknown-elf-objcopy missing from PATH. Stop.'

Hello, an error occurred while trying to run the simulation as follows.
How can I solve the above error?

@jacklu333333
Copy link

jacklu333333 commented Apr 21, 2023

Hi,
I have the same error. You need to replace it with the matching package on your Linux Distribution.
Open the makefile under directory biriscv/tb/tb_core_icarus and find the line of OBJCOPY ?= riscv32-unknown-elf-objcopy
In my case, I use arch, this it is under the package of riscv32-elf-binutils and the name is riscv32-elf-objcopy.

from

OBJCOPY ?= riscv32-unknown-elf-objcopy

to

riscv32-elf-objcopy

Hope this can resolve your problem.

Best Regards,
Jack Lu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants