windows下编译ffmpeg,报错如下:
bj66@DESKTOP-ON29UF3 MINGW64 /d/ffmpeg-6.0.1
$ ./configure --prefix=./install --toolchain=msvc --arch=x86 --enable-shared --enable-gpl --enable-libx264 --enable-libx265 --enable-dxva2 --cc=CC --enable-cross-compile
CC is unable to create an executable file.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
config.log中错误如下:
```c++
test_cc
BEGIN ./ffconf.zktWejeE/test.c
1 int main(void){ return 0; }
END ./ffconf.zktWejeE/test.c
CC -c -o ./ffconf.zktWejeE/test.o ./ffconf.zktWejeE/test.c
./compat/windows/mslink -o ./ffconf.zktWejeE/test.exe ./ffconf.zktWejeE/test.o
link: unknown option -- o
Try 'link --help' for more information.
C compiler test failed.
这个要怎么解决?