|
From: Ubuntu E. <ubu...@ya...> - 2010-10-12 01:40:38
|
Hi,
Could someone please advice on how to build selective components of valgrind
from svn source, say for example, only massif and memcheck?
Regards,
UE
|
|
From: John R. <jr...@bi...> - 2010-10-12 04:02:01
|
> Could someone please advice on how to build selective components of > valgrind from svn source, say for example, only massif and memcheck? It is required to be familiar with GNU 'make'. Search Makefile for the first target. Start at the top and look for colon that is not in a comment, macro definition, etc. Or, you could guess that the first target is "all:". Trace the targets: all ==> all-recursive ==> $(RECURSIVE_TARGETS). Then look at: -----<top_level>/Makefile line 574 # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): ----- Now think really hard. -- |
|
From: Julian S. <js...@ac...> - 2010-10-12 07:38:36
|
On Tuesday, October 12, 2010, Ubuntu Explorer wrote: > Hi, > Could someone please advice on how to build selective components of > valgrind from svn source, say for example, only massif and memcheck? Edit Makefile.am to change the TOOLS and EXP_TOOLS definitions as you want. Then run ./autogen.sh. Then configure and build as usual. J |