Looklike when I compile this on host, it is hardcoding the path
into binaries like memcheck-x86-linux and all, if I copy these onto my
embedded target, if I run there, it says "memcheck" couldn't start, on
target, I copied to /usr/loca/lib abd /usr/local/bin directories, when I
execute, path not correct, how can I fix this path?.





On Sun, Jan 17, 2010 at 10:14 AM, Vasanta <[email protected]> wrote:

> Thanks Tom, appreciated.
>
> I just compiled and installed on x86 Linux machine, it installs in
> /usr/local/bin and /usr/local/lib directories, also it copies header files
> into /usr/local/include directory, it works orefectly. But I have embedded
> target which is also x86 based, I cannot run "make install" on that target
> since I compiles everything on x86 Host and create one large image and burn
> that image onto target, only way is, I can created a tar ball and copy that
> onto target and untar all those files back on target, makesure it went into
> respective directories, I think mainly I need /usr/local/bin and
> /uselocal/lib. Let me try.
>
> Thanks,
>
>
>
>
>
>
>
> On Fri, Jan 15, 2010 at 5:14 PM, Tom Hughes <[email protected]> wrote:
>
>> On 15/01/10 21:05, Vasanta wrote:
>>
>>> Thanks Tom. When I compile, I gets some binaries in bin directory and
>>> some so files and scripts in lib directory, I copied all those images
>>> onto target, also my path looks correct, but I always gets same error
>>> "memcheck".
>>>
>>
>> You need to do "make install" to install it - that will show you where the
>> files need to go. Then copy them over to the target system in the same
>> locations.
>>
>> Broadly speaking however the lib files need to go in /usr/lib/valgrind as
>> I explained in my previous message.
>>
>>
>> Tom
>>
>> --
>> Tom Hughes ([email protected])
>> http://www.compton.nu/
>>
>
>
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to