>When compiling tcsh 6.01 on a Sun 4/330 running SunOS 4.1 I get the
>following error message when I run tcsh:
Here's an exerpt from the Makefile
#
SHELL=/bin/sh
VERSION=6.01
BUILD=tcsh
#
SUF=o
CF=-c
INCLUDES=-I. -I..
LFLAGS=$(INCLUDES)
#CFLAGS= $(INCLUDES) -g # debug
#CFLAGS= $(INCLUDES) -O # production
#CFLAGS= $(INCLUDES) # Broken optimizers....
CFLAGS= -g -pg $(INCLUDES) -DPROF
#CFLAGS= -O -pg $(INCLUDES) -DPROF
# gcc 1.37-
#CFLAGS=-O $(INCLUDES) -finline-functions -fstrength-reduce
# gcc 1.37+
#CFLAGS=-O $(INCLUDES) -fcombine-regs -finline-functions -fstrength-reduce
# add -msoft-float for 68881 machines.
#CFLAGS= $(INCLUDES) +O3 -Aa
# for silicon graphics (and other mips compilers) -- use the
# global optimizer! (-O3).
# On SGI 4.0+ you need to add -D__STDC__ too.
#CFLAGS= -O3 $(INCLUDES)
#CF=-j
#SUF=u
#.SUFFIXES: .u ## Ultrix needs that
# mips systems
# CFLAGS= $(INCLUDES) -O -systype bsd43 -Wf,-XNd5000 -Wf,-XNp6000 -Olimit 2000
# Apollo's with cc [apollo builtins don't work with gcc]
# and apollo should not define __STDC__ if it does not have
# the standard header files. RT's (aos4.3) need that too;
# you might want to skip the -O on the rt's... Not very wise.
# AIX/ESA needs -D_IBMESA on command line (this may disappear by GA)
#DFLAGS=-U__STDC__
#DFLAGS=-D_IBMESA
# On aix2.2.1 we need more compiler space.
#DFLAGS=-Nd4000 -Nn3000
DFLAGS=
################################################################
## LDLAGS. Define something here if you need to
################################################################
#LDFLAGS= ## The simplest, suitable for all.
#LDFLAGS= -s ## Stripped. Takes less space on disk.
#LDFLAGS= -s -n ## Pure executable. Spares paging over
# ## the network for machines with local
# ## swap but external /usr/local/bin .
LDFLAGS= -s -n -Bstatic ## Without dynamic links. (SunOS)
################################################################
## LIBES. Pick one, or roll your own.
################################################################
LIBES= -ltermcap ## BSD style things, hpux
#LIBES= -ltermcap -lcs ## Mach
#LIBES= -lcurses ## Sys V3 w/o networking (and Sys V4)
#LIBES= -lcurses -lc /usr/ucblib/libucb.a ## Sys V4 with BSDTIMES
#CC= gcc -Wall
#CC= cc
#CC= occ
CC= /bin/cc # For suns, w/o gcc and SVR4
#CC= /usr/lib/sun.compile/cc # FPS 500 (+FPX) with Sun C compiler
ED= -ed
AS= -as
RM= -rm
#CXREF= /usr/ucb/cxref
CXREF= /bin/cxref
VGRIND= csh /usr/ucb/vgrind
CTAGS= /usr/ucb/ctags
#XSTR= /usr/ucb/xstr
#SCCS= /usr/local/sccs
SCCS= /usr/ucb/sccs
PARALLEL=12 # Make the multi-max run fast.
#P=& # Use Sequent's parallel make
P=
DESTDIR=/usr/local
MANSECT=l
#DESTBIN=${DESTDIR}/bin
DESTBIN=/bin
DESTMAN=/usr/man/man${MANSECT}
FTPAREA=/usr/spool/ftp
--
FiberCom, Inc. UUCP: ...!uunet!fibercom!rrg
P.O. Box 11966 PHONE: 703-342-6700 or 800-423-1183 x291
Roanoke, VA 24022-1966 FAX: 703-342-5961