Closed medexs closed 22 hours ago
Binaries should never be put into git repo! Thanks @andreondra for reminding me.
The solution is to investigate whether the user has riscv32
or riscv64
toolchain installed and then use the correct version in Makefile and elftohex.py
(and also anywhere else, but these are the places where gcc from toolchain is called).
At this moment, to use the RISC-V tools, the official
unknown-elf
toolchain has to be installed. Unfortunately, the installation takes long and so on. A solution to this is to use an already built toolchain.The question is: do we put the binaries in the repository or leave it to the user to decide whether he will download the binaries or build it from the source?