Hi Augus,
this is our header file for solaris2.4 and gcc. I think it says
everything about compiler flags etc.
Olaf
CC = gcc
ARCH = solaris
GISBASE = /usr/local/bin/grass
UNIX_BIN = /usr/local/bin
DEFAULT_DATABASE = /dsun7d/grass/grass4.1/release/data
DEFAULT_LOCATION = spearfish
COMPILE_FLAGS = -O -fwritable-strings
LDFLAGS = -s
XCFLAGS = -D_NO_PROTO
XLDFLAGS =
XINCPATH = -I/usr/openwin/include
XMINCPATH =
XLIBPATH = -L/usr/openwin/lib
XTLIBPATH = -L/usr/lib
XMLIBPATH = -L/usr/lib
XLIB = -lX11
XTLIB = -lXt
XMLIB = -lXm
XEXTRALIBS =
TERMLIB = -ltermlib
CURSES = -lcurses $(TERMLIB)
MATHLIB = -lm
# LIBRULE = ar ruv $@ $?
# LIBRULE = ar ruv $@ $?; ranlib $@
# LIBRULE = ar ruv $@ $?; ar ts $@
# LIBRULE = ar rc $@ `lorder $(OBJ) | tsort`
LIBRULE = ar ruv $@ $?
USE_TERMIO = -DUSE_TERMIO
USE_MTIO = -DUSE_MTIO
USE_FTIME =
DIGITFLAGS =
VECTLIBFLAGS =
GETHOSTNAME = -DGETHOSTNAME_UNAME
Do I have to include any flags for gcc when the setup asks:
Compiler to use [cc]:
?Are there any hints for installing gcc with Solaris 2.4?
Agus
Thanks
***************************************************
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Marti Franques s/n
08028 Barcelona (Spain)tel. 34 3 330 2716
fax. 34 3 411 0012alobo@ija.csic.es
alobo@eno.princeton.edu
***************************************************