You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In src/Makefile, you should set ASFLAGS = -march=rv32i. For example, if I add some codes (the related operations is not included in rv32i) like this in main.c:
Then the riscv-gcc will try to use the standard library function, without ASFLAGS = -march=rv32i, some ERRORs occurs:
With ASFLAGS = -march=rv32i, the compilation can succeed, and we can see the desired asm codes in darksocv.lst like this:
The text was updated successfully, but these errors were encountered:
In src/Makefile, you should set
ASFLAGS = -march=rv32i
. For example, if I add some codes (the related operations is not included in rv32i) like this inmain.c
:Then the riscv-gcc will try to use the standard library function, without
ASFLAGS = -march=rv32i
, some ERRORs occurs:With
ASFLAGS = -march=rv32i
, the compilation can succeed, and we can see the desired asm codes indarksocv.lst
like this:The text was updated successfully, but these errors were encountered: