[GRASS-user] Compiling GRASS with debugging symbols
Markus Neteler
neteler at osgeo.org
Wed Aug 25 03:38:50 EDT 2010
On Wed, Aug 25, 2010 at 9:30 AM, Hanlie Pretorius
<hanlie.pretorius at 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
More information about the grass-user
mailing list