LINK is setted to riscv64-unknown-elf-gcc, but env.Program execute use ld.
I use env.Dump()get below outputs:
'LINK': 'riscv64-unknown-elf-gcc', 'LINKCOM': '$LINK -o $TARGET $LINKFLAGS $__RPATH $SOURCES $_LIBDIRFLAGS ' '$_LIBFLAGS', 'LINKFLAGS': ' ' '-march=rv64imafdcv_zicbom_zicbop_zicboz_zicond1p0_zihintntl0p2_zihintpause_zawrs_zfa0p1_zfbfmin0p8_zfh_zca_zcb_zcd_zba_zbb_zbc_zbs_zvfbfmin0p8_zvfbfwma0p8_svinval_svpbmt_xtheadc_xtheadvdot ' '-mabi=lp64d -mtune=c920 -nostartfiles -lc -lgcc -lm -T ' '/ssd_fes/jiongz/desktop/github/diff_ip_vv/pc801_c920_ip_vv/smart_run/tests/lib/init/linker.lcf ' '-L ' '/ssd_fes/jiongz/desktop/github/diff_ip_vv/pc801_c920_ip_vv/smart_run/tests/lib/init',
Could anyone help me about this issue?