[GRASS-dev] makefile for Valgrind

Sorry for that question
can someone tell me how shall I modify makefile to test my program with Valgrind?

adding CFLAGS=-g is enough or shall I do something else?

thanks
Jarek

Adding debug options should be sufficient to enable code line
traceback. AFAIK other compile options are not needed.

Best
regards

2010/4/25 Jarek Jasiewicz <jarekj@amu.edu.pl>:

Sorry for that question
can someone tell me how shall I modify makefile to test my program with
Valgrind?

adding CFLAGS=-g is enough or shall I do something else?

thanks
Jarek
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Jarek:

> Sorry for that question
> can someone tell me how shall I modify makefile to
> test my program with Valgrind?
>
> adding CFLAGS=-g is enough or shall I do something else?

Soeren:

Adding debug options should be sufficient to enable code line
traceback. AFAIK other compile options are not needed.

see http://grass.osgeo.org/wiki/Bugs