执行go build -buildmode=c-shared -o exportgo.dll exportgo.go报类似如下错误
/usr/lib/gcc/x86_64-pc-msys/9.1.0/../../../../x86_64-pc-msys/bin/ld: 找不到 -lmingwex
/usr/lib/gcc/x86_64-pc-msys/9.1.0/../../../../x86_64-pc-msys/bin/ld: 找不到 -lmingw32
安装tdm gcc mingw 解决问题.