|
From: Tom H. <to...@co...> - 2008-08-13 07:45:25
|
In message <20080812150738.S38I7.15874.root@mp19>
cat...@ch... wrote:
> So after reading all about ... (internet) and going thru the manual.
> valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No such file or directory
> I found one post about trying to test a 32 bit process on a 64 bit machine.
> which is what I am trying to do.
Sounds it didn't build 32 bit support - what did configure say when
you ran it?
> more detailes below, but my question is,
> can I run valgrind 3.3.1 on a 32 bit process on a 64 bit machine?
Yes, if it is build and installed correctly.
> I tried -valgrind --tool=memcheck --enable-only32bit ./myProgram
> valgrind --enable-only32bit --tool=memcheck ./myProgram
> and got same error.
The --enable-only32bit flag is a configure flag, not a flag to
valgrind. You shouldn't need it anyway as without that flag it
will build support for both 32 and 64 bit binaries.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|