我使用Hello World RISC-V C Project创建C工程,propertise也对着模版弄了一遍,源文件全部拷到工程目录下、头文件路径也弄好,可就是编译不过,错误提示:
Info: Internal Builder is used for build
riscv32-unknown-elf-gcc -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -Wall -g3 -Xlinker –gc-sections -Wl,-Map,uart2.map -o uart2.elf “src\\main.o” -lnosys -lgcc -lc -lm -lm -lg -lgcc -lnosys
f:/study/vega_board/ide/eclipse/gnu mcu eclipse/riscv32-unknown-elf-gcc/bin/../lib/gcc/riscv32-unknown-elf/7.1.1/../../../../riscv32-unknown-elf/bin/ld.exe: cannot open linker script file riscv.ld: No such file or directory
collect2.exe: error: ld returned 1 exit status