Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 954 Bytes

README.md

File metadata and controls

57 lines (43 loc) · 954 Bytes

Valgrind 3.15 with Freya

Build steps:

./autogen.sh
./configure --prefix=`pwd`/inst
make
make install

cd freya
make
make install

Cross-Compile for ARM:

export CROSS_COMPILE=arm-linux-gnueabihf-
export CC=${CROSS_COMPILE}gcc
export CPP=${CROSS_COMPILE}cpp
export CXX=${CROSS_COMPILE}g++
export LD=${CROSS_COMPILE}ld
export AR=${CROSS_COMPILE}ar

./configure --prefix=`pwd`/inst --host=armv7-linux-gnueabihf
make
make install

cd freya
make
make install

Usage:

./inst/bin/valgrind --tool=freya [ --config=config_file --mmap=no --log-file=log_file ] prog

Or without install:

./vg-in-place --tool=freya [ --config=config_file --mmap=no --log-file=log_file ] prog

The flags in [ ] are optional. Run with --help for more information.

More info:

You can read more about Freya at this blogpost:

http://webkit.sed.hu/node/29