On Wed, Aug 25, 2010 at 9:30 AM, Hanlie Pretorius
<[email protected]> 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
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to