|
From: Davis F. <dav...@gm...> - 2013-07-22 00:35:57
|
Thanks John / Tom -- I aim to try that out. Regards, Davis On Sun, Jul 21, 2013 at 6:58 PM, John Reiser <jr...@bi...> wrote: > The top-level Makefile for valgrind looks somewhat ordinary. So you could > try > adding "-static -static-libgcc" to to CFLAGS. (Or add "-static" to > LDFLAGS, > or add "-Wl,-static" to CFLAGS.) Then look at the final link command: > invoke > 'make' and observe the commands that are displayed on stderr. In the worst > case, then run under "strace -f -o strace.out -e trace=execve make ..." > then > inspect strace.out to find the actual process command line. Also look at > the > output from ldd, to see how well those attempts worked. You might also > look > one level down at memcheck/Makefile, but CFLAGS etc. from the top-level > Makefile should propagate to the individual tools such as memcheck. > |