[GRASS-user] Compiling in Windows OSGEO4W- Error with gcc

Monica Buescu monicabuescu1985 at gmail.com
Fri Oct 22 10:21:30 EDT 2010


Greetings

I tried to compile a module with this command
make -C i.segment
MODULE_TOPDIR=/C/OSGeo4W/usr/src/grass-6.4.svn_src_snapshot_2010_09_04
And I got this:
make: Entering directory `/C/osgeo4w/usr/src/i.segment'
make OBJ.i686-pc-mingw32
make[1]: Entering directory `/C/osgeo4w/usr/src/i.segment'
make[1]: `OBJ.i686-pc-mingw32' is up to date.
make[1]: Leaving directory `/C/osgeo4w/usr/src/i.segment'
gcc
-I/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_09_04/dist.i686-pc-mingw32/include
-I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -g -O2
 -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include
-DPACKAGE=\""grassmods"\"
 -I/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_09_04/dist.i686-pc-mingw32/include
-o OBJ.i686-pc-mingw32/hist.o -c hist.c
/bin/sh: gcc: command not found
make: *** [OBJ.i686-pc-mingw32/hist.o] Error 127
make: Leaving directory `/C/osgeo4w/usr/src/i.segment'

I have in osgeo4w/bin a gcc.exe file so it shopuld be available. How come
it's not found?


Monica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20101022/47dcdb17/attachment.html


More information about the grass-user mailing list