使用TinyCC在(milkv-duo)开发板内编写C程序调试

你好,能否介绍一下具体是怎么编译的tinycc? 我尝试去为milkv-duo编译tinycc,出现了报错,我是这样做的:
在配置好交叉编译工具链后,

git clone https://github.com/mirror/tinycc.git 
cd tinycc
./configure --prefix=$PWD/install   --cpu=riscv64

结果如下:

Binary directory    /mnt/d/MilkvDuo/XC/tinycc/install/bin
TinyCC directory    /mnt/d/MilkvDuo/XC/tinycc/install/lib/tcc
Library directory   /mnt/d/MilkvDuo/XC/tinycc/install/lib
Include directory   /mnt/d/MilkvDuo/XC/tinycc/install/include
Manual directory    /mnt/d/MilkvDuo/XC/tinycc/install/share/man
Info directory      /mnt/d/MilkvDuo/XC/tinycc/install/share/info
Doc directory       /mnt/d/MilkvDuo/XC/tinycc/install/share/doc
Source path         /mnt/d/MilkvDuo/XC/tinycc
C compiler          riscv64-unknown-linux-musl-gcc (.)
Target OS           Linux
CPU                 riscv64
Creating config.mak and config.h

然后执行make
出现了以下报错:

riscv64-unknown-linux-musl-gcc -DC2STR conftest.c -o c2str.exe && ./c2str.exe include/tccdefs.h tccdefs_.h
/bin/sh: 1: ./c2str.exe: Exec format error
Makefile:265: recipe for target 'tccdefs_.h' failed
make: *** [tccdefs_.h] Error 2

请问是我哪里做错了么?正确的做法应该是?
顺便提一句,我是在wsl环境下进行编译的,已交叉编译了redis,验证交叉工具链是配置正确的