cl is unable to create an executable file

 

cl is unable to create an executable file

 

--prefix=./out/-toolchain=msvc --enable-shared --disable-static --disable-debug -
cl is unable to create an executable file.
If cl is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.

解决方法:

添加编译选项: --enable-cross-compile

你可能感兴趣的:(c++)