[GRASS-dev] compile grass on osgeo4w with debug informations

G. Allegri giohappy at gmail.com
Mon Mar 26 10:21:55 EDT 2012


Hi. It's a long time since I built GRASS on Windows by myself, so forgive
my dummy questions...

I would like to build grass on windows with debug infos, to debug a couple
of things (inside the core and a plugin).I suppose I should use the -g
flag, but I cannot do it from ./configure CFLAGS="-g", because it complains:

configure: warning: CFLAGS=-g: invalid host type
configure: warning: CPPFLAGS=-g: invalid host type
configure: error: can only configure for one host and one target at a time

What's the best place to declare it? I have little experience with
Autotools...

Thanks,
giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20120326/d733b8f6/attachment-0001.html


More information about the grass-dev mailing list