thanks martin, it seems to run ;)<div><br></div><div>giovanni<br><br><div class="gmail_quote">2012/3/26 Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
2012/3/26 G. Allegri <<a href="mailto:giohappy@gmail.com">giohappy@gmail.com</a>>:<br>
<div><div class="h5">> Hi. It's a long time since I built GRASS on Windows by myself, so forgive my<br>
> dummy questions...<br>
><br>
> I would like to build grass on windows with debug infos, to debug a couple<br>
> of things (inside the core and a plugin).I suppose I should use the -g flag,<br>
> but I cannot do it from ./configure CFLAGS="-g", because it complains:<br>
><br>
> configure: warning: CFLAGS=-g: invalid host type<br>
> configure: warning: CPPFLAGS=-g: invalid host type<br>
> configure: error: can only configure for one host and one target at a time<br>
><br>
> What's the best place to declare it? I have little experience with<br>
> Autotools...<br>
<br>
</div></div>declare it mswindows/osgeo4w/package.sh [1]. Eg.<br>
<br>
CFLAGS="-g -Wall" \<br>
CXXFLAGS="-g -Wall" \<br>
./configure \<br>
...<br>
<br>
I hope it helps, Martin<br>
<br>
[1] <a href="http://trac.osgeo.org/grass/browser/grass/trunk/mswindows/osgeo4w/package.sh#L108" target="_blank">http://trac.osgeo.org/grass/browser/grass/trunk/mswindows/osgeo4w/package.sh#L108</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Martin Landa <landa.martin <a href="http://gmail.com" target="_blank">gmail.com</a>> * <a href="http://geo.fsv.cvut.cz/~landa" target="_blank">http://geo.fsv.cvut.cz/~landa</a><br>
</font></span></blockquote></div><br></div>