[GRASS5] compiling on IRIX 6.5 with gcc 3.0

Glynn Clements glynn.clements at virgin.net
Tue Nov 6 01:50:29 EST 2001

Andreas Lange wrote:

> There is a file "config.h" in /usr/freeware/include, which breaks the
> compiling of the gis lib.

What version (as in "cvs status") of src/CMD/generic/make.mid do you

I recently changed it to have:


This should force src/include to be searched before any other
directories, provided that you're using gcc:

     Add the directory DIR to the head of the list of directories to be
     searched for header files.  This can be used to override a system
     header file, substituting your own version, since these
     directories are searched before the system header file
     directories.  If you use more than one `-I' option, the
     directories are scanned in left-to-right order; the standard
     system directories come after.

> If there is interest in the binary tarball, please tell me. The
> compressed binary package is approx. 50 MB _after_ stripping. But i
> think that the binary distribution should be compiled with the SGI MIPS
> PRO compiler to get more optimized binaries. 

Do you know how that compiler handles -I switches? If there is at
least one compiler which is known to process -I switches
right-to-left, some part of the build process needs to handle CFLAGS

Glynn Clements <glynn.clements at virgin.net>

More information about the grass-dev mailing list