|
From: venkat r. <ram...@ho...> - 2009-04-21 11:18:54
|
Hi, I am new to Valgrind. I configured, compiled and installed. But when I tried to check a small program I get the following error. My program name is memcheck.c. And I did a valgrind --tool=memcheck --leak-check=yes memcheck.c. Then I got the following error. valgrind: do_exec(./memcheck.c) failed: Exec format error How do I fix the above?. your help would be great. Temporarily I installed this in a local directory. But where do I need to install the Valgrind. Should it be in one of the root directories like /tmp or /usr etc? |