We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've successfully built src/1.startup and run the Image on D1-nezha board. However, there is a problem when building 3.uart.
~/d1-nezha-baremeta/src/3.uart$ make all TOOLPREFIX=riscv64-unknown-elf- riscv64-unknown-elf-gcc -Wall -O2 -fno-omit-frame-pointer -ggdb -march=rv64gcvxtheadc -mabi=lp64d -mtune=c906 -MD -mcmodel=medany -ffreestanding -fno-common -nostdlib -mno-relax -I. -I printf -fno-stack-protector -fno-pie -no-pie -c -o printf.o printf.c cc1: error: unknown cpu 'c906' for '-mtune' make: *** [<builtin>: printf.o] Error 1
The text was updated successfully, but these errors were encountered:
I've successfully built src/1.startup and run the Image on D1-nezha board. However, there is a problem when building 3.uart. ~/d1-nezha-baremeta/src/3.uart$ make all TOOLPREFIX=riscv64-unknown-elf- riscv64-unknown-elf-gcc -Wall -O2 -fno-omit-frame-pointer -ggdb -march=rv64gcvxtheadc -mabi=lp64d -mtune=c906 -MD -mcmodel=medany -ffreestanding -fno-common -nostdlib -mno-relax -I. -I printf -fno-stack-protector -fno-pie -no-pie -c -o printf.o printf.c cc1: error: unknown cpu 'c906' for '-mtune' make: *** [<builtin>: printf.o] Error 1
you can download Xuantie-900-gcc-elf-newlib from https://occ.t-head.cn/community/download
Sorry, something went wrong.
No branches or pull requests
I've successfully built src/1.startup and run the Image on D1-nezha board. However, there is a problem when building 3.uart.
The text was updated successfully, but these errors were encountered: