2016-06-24 6 views
4

ValgrindをインストールしようとするとC言語を学んでいますが、Valgrinをインストールしようとするとエラーが表示されます。Valgrind is OS specific. Sorry Mingw64 GITをインストールしてWindows 7を実行しています。私はいくつかの調査をして、thisを見つけました。それによると、私はこれを実行したときしかし、私は次の出力を得るsh ./configure --host x86_64 w64-mingw32を実行する必要があります。Windows 7でValgrindを入手する

$ sh ./configure --host x86_64-w64-mingw32 
checking for a BSD-compatible install... /usr/bin/install -c 
checking whether build environment is sane... yes 
checking for x86_64-w64-mingw64-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-mingw64-gcc... no 
checking for gcc... 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 gcc accepts -g... yes 
checking for gcc option to accept ISO C89... none needed 
checking whether gcc understands -c and -o together... yes 
checking for style of include used by make... GNU 
checking dependency style of gcc... gcc3 
checking how to run the C preprocessor... gcc -E 
checking for x86_64-w64-mingw64-g++... no 
checking for x86_64-w64-mingw64-c++... no 
checking for x86_64-w64-mingw64-gpp... no 
checking for x86_64-w64-mingw64-aCC... no 
checking for x86_64-w64-mingw64-CC... no 
checking for x86_64-w64-mingw64-cxx... no 
checking for x86_64-w64-mingw64-cc++... no 
checking for x86_64-w64-mingw64-cl.exe... no 
checking for x86_64-w64-mingw64-FCC... no 
checking for x86_64-w64-mingw64-KCC... no 
checking for x86_64-w64-mingw64-RCC... no 
checking for x86_64-w64-mingw64-xlC_r... no 
checking for x86_64-w64-mingw64-xlC... no 
checking for g++... g++ 
checking whether we are using the GNU C++ compiler... yes 
checking whether g++ accepts -g... yes 
checking dependency style of g++... gcc3 
checking for x86_64-w64-mingw64-ranlib... no 
checking for ranlib... ranlib 
checking for a sed that does not truncate output... /usr/bin/sed 
checking for ar... /c/mingw/bin/ar 
checking for perl... /usr/bin/perl 
checking for gdb... /c/mingw/bin/gdb 
checking dependency style of gcc... gcc3 
checking for diff -u... yes 
checking for a supported version of gcc... ok (4.7.2) 
checking build system type... x86_64-pc-mingw64 
checking host system type... x86_64-w64-mingw64 
checking for a supported CPU... ok (x86_64) 
checking for a 64-bit only build... no 
checking for a 32-bit only build... no 
checking for a supported OS... no (mingw64) 
configure: error: Valgrind is operating system specific. Sorry. 

だから私はよく、私は私にMinGW64を持っているので、私は、同じことをそれを試してみてくださいこと、思いました。私がミンウを持っていないという例外を投げているのはなぜですか、どうすればこの問題を解決できますか?

+0

代わりに、このhttps://stackoverflow.com/questions/413477/is-there-a-good-valgrind-substitute-for-windowsをご覧ください。 –

答えて

6

ご使用のOSがサポートされておらず、サポートされていないシステムでMingwが見つかりました。

一般的に、Windowsではvalgrindはサポートされていません。マイクロソフトは独自のバージョンのglibcと独自のカーネルを持っています。 Windows上で実行できるvalgrindのバージョンを作成するには、今のところ誰も作ってはいけない多くの移植作業が必要です。

関連する問題