[GRASS-dev] RE: [GRASS-user] problems with r.cost

Glynn Clements glynn at gclements.plus.com
Wed May 23 19:02:21 EDT 2007


Jerry Nelson wrote:

> The large file support option doesn't help with all grass routines
> unfortunately. 
> 
> The following has to be in the Make file for the specific module
> 
> ifneq ($(USE_LARGEFILES),)
>         EXTRA_CFLAGS = -D_FILE_OFFSET_BITS=64
> Endif
> 
> It is not in the r.cost Make file, which means I think (remember I'm not a C
> programmer) that compiling with large file support won't help.

For r.cost, adding the above to lib/segment/Makefile would probably be
of more use.

I've been through that code recently, and I'm reasonably sure that
it's safe for LFS.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list