From 2e87ac2d9ca7f743b64939d9d284ba1fd5949ffd Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 19 Feb 2007 04:09:24 +0000 Subject: [PATCH] Add a script to make running in-place simpler. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6603 --- README_DEVELOPERS | 2 ++ vg-in-place | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100755 vg-in-place diff --git a/README_DEVELOPERS b/README_DEVELOPERS index 9c63e4b284..06ed8b0ac8 100644 --- a/README_DEVELOPERS +++ b/README_DEVELOPERS @@ -10,6 +10,8 @@ of the source tree (and must be an absolute path). Eg: This allows you to compile and run with "make" instead of "make install", saving you time. +Or, you can use the 'vg-in-place' script which does that for you. + I recommend compiling with "make --quiet" to further reduce the amount of output spewed out during compilation, letting you actually see any errors, warnings, etc. diff --git a/vg-in-place b/vg-in-place new file mode 100755 index 0000000000..b37811995f --- /dev/null +++ b/vg-in-place @@ -0,0 +1,7 @@ +# This ensures it works when invoked from any directory. +d=`dirname $0` + +VALGRIND_LIB=$d/.in_place \ + VALGRIND_LIB_INNER=$d/.in_place \ + $d/coregrind/valgrind "$@" + -- 2.47.2