GRASS on SGI

Stephan Eickschen eicksch at uni-muenster.de
Thu Jul 30 10:25:32 EDT 1998


Hi David,

> Incidentally, it compiled fairly cleanly for me using the SGI compiler
> and the -cckr option ... the main problems were with lex (get flex) and
> yacc (get bison and use bison -y). I didn't change any source code at
> all.

I tried it, but I got stuck much earlier with flex and yacc. Or have I
to delete all object files and compile the whole stuff new? I received
linker errors...

I attach the head file, but I think it is o.k....

Regards,

	Stephan

P.S.: I hope to get it all solved. But if not, I really would like to
	ask you for the binaries. You will see the "progress" on one
	of the web pages...

-- 
------------------------------------------------------------------------

Stephan Eickschen                     Tel. : +49 (0)251 83-34704
Westfaelische Wilhelms-Universitaet   Fax. : +49 (0)251 83-36100
Institute for Geophysics
Research Unit of Physical Glaciology  email: eicksch at uni-muenster.de
Corrensstrasse 24
48149 Muenster
Germany

------------------------------------------------------------------------
-------------- next part --------------
# read documents/instructions/platforms/sgi.html !

CC                  = cc
FC                  = f77
LEX                 = lex
YACC                = yacc
#LEX                 = flex
#YACC                = bison -y
ARCH                = sgi

#GISBASE             = /usr/local/grass
#UNIX_BIN            = /usr/local/bin
GISBASE             = /exports/sgi/GRASS/grass4.1.2
UNIX_BIN            = /exports/sgi/GRASS/grass4.1.2/bin
 
DEFAULT_DATABASE    = 
DEFAULT_LOCATION    = 
 
COMPILE_FLAGS       = -O -cckr
LDFLAGS             = -s
XCFLAGS             = -D_NO_PROTO -DXM_1_1_ BC -Umips
XLDFLAGS            = -lPW
XINCPATH            = 
XMINCPATH           = 
XLIBPATH            = 
XTLIBPATH           = -L/usr/lib
XMLIBPATH           = -L/usr/lib
XLIB                = -lX11
XTLIB               = -lXt
XMLIB               = -lXm
XEXTRALIBS          = -lPW

TERMLIB             = -ltermlib
CURSES              = -lcurses $(TERMLIB)
MATHLIB             = -lm

#                   LIBRULE = ar ruv $@ $? 
#                   LIBRULE = ar ruv $@ $?; ranlib $@
#                   LIBRULE = ar ruv $@ $?; ar ts $@
#                   LIBRULE = ar rc $@ `lorder $(OBJ)
LIBRULE             = ar ruv $@ $?
USE_TERMIO          = -DUSE_TERMIO
USE_MTIO            = -DUSE_MTIO
USE_FTIME           =
DIGITFLAGS          = -DUSE_SETREUID -DUSE_SETEUID -DUSE_SETPRIORITY
VECTLIBFLAGS        =
GETHOSTNAME         = -DGETHOSTNAME_OK
XDRLIB              = -lsun


More information about the grass-user mailing list