>once I extracted the valgrind-3.7 tarball into android/external, i
>just went into the folder and used this
>$ ./configure --build i686-pc-linux-gnu --host 
>arm-marvell-linux-gnueabi
>
>Then configuration proceeded fine... once everything was 
>setup, it was easy
>$make clean; make
>Both passing good and with no errors.
>
>Then I go into /valgrind-3.7/coregrind and pick up the file from
>there, and put it in a folder which is used as the root file system of
>the board. A faster alternative to adb pushing really.
>
>So whichever kind of app Valgrind is, I was guessing that I'll
>probably be missing some binaries which is why i compiled it
>statically.
Effectively, I believe you are guessing properly one source
of a problem, but for sure, the way you expect to solve this
will *not* solve it.
Valgrind is not a single executable, it is made of several executables,
and scripts, and files and dynamic libraries.
So, on this side, you should really follow README.android
and use adb push etc. You might lose 2 minutes due to the adb push,
but this will very probably spare hours of mysteries investigations.

It looks like what you are trying to do is quite different of what
has been tested and documented in README.android.

A.o. if you try to just copy the valgrind, this will *not* work.
Valgrind cannot be build statically as one single executable.
You much better do make install etc.

Probably the best is to start by having the minimal differences between
the README.android and your actions. And when something does not
work as documented, solve it so that you can continue the rest of the
actions similarly.
So, define the env variables as explained (pointing to your SDK), etc
etc.

>... so, how do I hack this platform variant to return a proper 
>result? :)
You will probably need some changes in configure.in and similar and
then re-run ./autogen.sh before the configure.
But I have a close to zero knowledge of automake/autoconf and related,
and so can't help you in this area (even if I would have access to a
platform
similar to yours).

Philippe


____
 
This message and any files transmitted with it are legally privileged and 
intended for the sole use of the individual(s) or entity to whom they are 
addressed. If you are not the intended recipient, please notify the sender by 
reply and delete the message and any attachments from your system. Any 
unauthorised use or disclosure of the content of this message is strictly 
prohibited and may be unlawful.
 
Nothing in this e-mail message amounts to a contractual or legal commitment on 
the part of EUROCONTROL, unless it is confirmed by appropriately signed hard 
copy.
 
Any views expressed in this message are those of the sender.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to