[GRASS-dev] debug build

Helmut Kudrnovsky hellik at web.de
Sun Aug 2 13:09:14 PDT 2015


Rob Parsons wrote
> Hi,
> 
> The INSTALL file in my "C:\OSGeo4W\src\grass7_trunk" directory tells me...
> 
> ----------
> First step of the compilation (-g for debugging, or -O2 for optimization):
> 
>     CFLAGS="-g -Wall" ./configure
> ----------
> 
> 
> Before I run this script from the MSYS shell to compile and install GRASS
> 7,
> 
> C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.sh
> 
> 
> How do I tell 'package.sh' use 'CFLAGS="-g -Wall"'?

open the msys-console and type e.g.

export CFLAGS='-g -Wall'

HTH



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/debug-build-tp5217077p5218202.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list