Re: [CODE] Debbuging Stock Bp21 with VALGRIND ?

From: Daniel A. Koepke (dkoepke@circlemud.org)
Date: 07/31/02


On Wed, 31 Jul 2002, Justin Adler wrote:

>    Could someone please explain how this Makefile topic is related to
> Valgrind?

It's re my original statement that you should disable optimization by
editing CFLAGS in your Makefile (and removing -O2) and recompiling all of
your code.  In this case, you should edit Makefile instead of Makefile.in,
since you don't want the changes to persist over reconfigurations.  After
you finish debugging with Valgrind, you can add -O2 back in.

The discussion of why you should make permanent changes to your make rules
in Makefile.in is tangental.


-dak

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT