[comp.sys.isis] compiling ISIS on SUN3s

tclark@honir.cs.cornell.edu (Timothy Clark) (10/17/90)

For those of you having problems compiling ISIS on SUN3 machines, receiving
the error msg:

> cc -DNOSUNLWP -DSUN3 -I../../include -c -O3 ../../util/isis.c
> cc: Fatal error in iropt: Segmentation fault (core dumped)

The problem is the -O3 optimization level.  To correct the problem, edit the
SUN3/makefile, changing the following line:

From:
OPTIMSTD = CC=cc OPTIM="-O3"
To:
OPTIMSTD = CC=cc OPTIM="-O"

This will effectively change the optimization from level 3 to the default
level 2, and correct the problem.

--Tim