From: Nicholas Nethercote Date: Mon, 19 Feb 2007 04:09:24 +0000 (+0000) Subject: Add a script to make running in-place simpler. X-Git-Tag: svn/VALGRIND_3_3_0~361 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e87ac2d9ca7f743b64939d9d284ba1fd5949ffd;p=thirdparty%2Fvalgrind.git Add a script to make running in-place simpler. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6603 --- 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 "$@" +