Freedom Studio on Linux


#22

Hi there,

I am going to build the MCS file for the arty board got some error to resolve.
I am running the command make -f Makefile.e300artydevkit mcs Then got the error as following:
make -C /home/parallels/freedom/bootrom/xip romgen
make[1]: Entering directory ‘/home/parallels/freedom/bootrom/xip’
/bin/riscv64-unknown-elf-gcc -march=rv32imac -mabi=ilp32 -O2 -std=gnu11 -Wall -I. -nostartfiles -fno-common -g -DXIP_TARGET_ADDR=0x20400000 -DDEVICE_TREE=’"/home/parallels/freedom/builds/e300artydevkit/sifive.freedom.everywhere.e300artydevkit.E300ArtyDevKitConfig.dtb"’ -static -nostdlib -o /home/parallels/freedom/builds/e300artydevkit/xip.elf xip.S
make[1]: /bin/riscv64-unknown-elf-gcc: Command not found
Makefile:17: recipe for target ‘/home/parallels/freedom/builds/e300artydevkit/xip.elf’ failed
make[1]: *** [/home/parallels/freedom/builds/e300artydevkit/xip.elf] Error 127
make[1]: Leaving directory ‘/home/parallels/freedom/bootrom/xip’
common.mk:68: recipe for target ‘/home/parallels/freedom/builds/e300artydevkit/sifive.freedom.everywhere.e300artydevkit.E300ArtyDevKitConfig.rom.v’ failed
make: *** [/home/parallels/freedom/builds/e300artydevkit/sifive.freedom.everywhere.e300artydevkit.E300ArtyDevKitConfig.rom.v] Error 2

So, how can I to solve this problem?