Hi
I would like to compile GRASS with extra debugging information and
apparently one needs to enable 'debugging symbols'.
Which of the configuration options would add debugging symbols to the
compilation? I can't see any in the list produced by
-----
./configure --help
-----
that obviously include this option.
Thanks
Hanlie
On Wed, Aug 25, 2010 at 9:30 AM, Hanlie Pretorius
<hanlie.pretorius@gmail.com> wrote:
Hi
I would like to compile GRASS with extra debugging information and
apparently one needs to enable 'debugging symbols'.
Which of the configuration options would add debugging symbols to the
compilation? I can't see any in the list produced by
-----
./configure --help
-----
that obviously include this option.
You can set it like this:
MYCFLAGS="-g -Wall"
MYCXXFLAGS="-g -Wall"
MYLDFLAGS="-Wl,--no-undefined"
LDFLAGS="$MYLDFLAGS" CFLAGS="$MYCFLAGS" CXXFLAGS="$MYCXXFLAGS" ./configure ...
Cheers
Markus