Arm Cross-compiling Valgrind

Source: Internet
Author: User
Tags valgrind

1.

wget http://valgrind.org/downloads/valgrind-3.9.0.tar.bz2

Tar xvf valgrind-3.9.0.tar.bz2

CD valgrind-3.9.0

Apt-get Install Automake

./autogen.sh

2.

Modify Configure
armv7*) Change to Armv7*|arm)

3.

./configure--host=arm-linux CC=ARM-NONE-LINUX-GNUEABI-GCC cpp=arm-none-linux-gnueabi-cpp CXX= arm-none-linux-gnueabi-g++--prefix=./valgrind

4.

Make

Make install

Note: The directory specified by--prefix=/opt/valgrind is consistent with the directory placed on the board, otherwise the "valgrind:failed to start tool ' Memcheck ' for platform" may appear when running Valgrind ' Arm-linux ': No such file or directory "error.

Arm Cross-compiling Valgrind

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.