可以在Windows 10的MinGW64中编译Valgrind吗?

时间:2018-12-30 19:49:09

标签: valgrind configure mingw-w64

我想使用Valgrind在Windows 10上的MinGW64中编译一个应用程序。没有可用于安装的准备好的软件包,因此我尝试自己对其进行编译。

Patrick Lehmann@PLC2-Paebbels MINGW64 /opt/valgrind-3.14.0
$ ./autogen.sh
running: aclocal
running: autoheader
running: automake -a
running: autoconf

Patrick Lehmann@PLC2-Paebbels MINGW64 /opt/valgrind-3.14.0
$ ./configure --host x86_64-w64-mingw32 --enable-only64bit
configure: loading site script /mingw64/etc/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... no, using cp -pR
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking whether x86_64-w64-mingw32-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-w64-mingw32-gcc... gcc3
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for x86_64-w64-mingw32-g++... x86_64-w64-mingw32-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-w64-mingw32-g++ accepts -g... yes
checking dependency style of x86_64-w64-mingw32-g++... gcc3
checking for x86_64-w64-mingw32-ranlib... no
checking for ranlib... ranlib
checking for gcc-ranlib... /mingw64/bin/gcc-ranlib
checking for a sed that does not truncate output... /usr/bin/sed
checking for ar... /mingw64/bin/ar
checking for gcc-ar... /mingw64/bin/gcc-ar
checking for perl... /usr/bin/perl
checking for gdb... /mingw64/bin/gdb
checking dependency style of x86_64-w64-mingw32-gcc... gcc3
checking for diff -u... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C99... none needed
checking for a supported version of gcc... ok (8.2.1)
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking for a supported CPU... ok (x86_64)
checking for a 64-bit only build... yes
checking for a 32-bit only build... no
checking for a supported OS... no (mingw32)
configure: error: Valgrind is operating system specific. Sorry.

有什么想法为什么它会因MinGW64而中止并给出一条mingw32信息...?

0 个答案:

没有答案