Hi,
My name is Aneesh Chandran. I went through the valgrind documentation and
found it might be useful for me (mainly for memory checking).
Let me give some background information. I am using a hardware target platform
with Linux OS. I am using a cross compiler. I will be compiling the code in
i386 PC. But uses a cross compiler (sh4-linux). Finally the exe runs on a
hardware platform (for the time being using NFS).
So i wanted to run the valgrind on my target platform.
1. Initially i compiled the valgrind package (valgrind-3.5.0) in the PC itself.
And gave the --prefix=<nfs root file system base>. But when i tried to run
"valgrind ls -l" it showed error (""/bin/valgrind: line 1: syntax error:
unexpected "(". ").
2. So i tried using the cross compiler. Inside the configure script, i just
assigined the variable CC=sh4-linux-gcc. But while doing ./configure it said,
use the --host option.
3. Next i tried --host=sh4-linux- . But this also failed in between. (Saying
not supported CPU)
So whether its not possible to compile the Valgrind for cross compiling with
STLINUX. I could not find any documentation on this. If this is possible,
please let me know the steps to do it.
Thanks & Regards,
Aneesh
http://www.mindtree.com/email/disclaimer.html
------------------------------------------------------------------------------
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users