[comp.sys.hp] How to compile sc under HP-UX 7.0

rkl@and.cs.liv.ac.uk (06/10/91)

Here's how I compiled both sc-6.14 and sc-6.16 on our HP-UX system
(HP9000 Series 300 running 7.0):

Set the flags as follows:

CFLAGS= +O1 -DSYSV2
LDFLAGS=
LIB=-lm -lPW -lcurses

Explanation ? I bet everyone's dived for the -DSYSV3 flag - don't ! It
doesn't work... I used the +O1 optimisation because you're warned against
using -O in the Makefile.

Now if only HP would get the curses library to work with 300h terminals -
when you move the reverse video panel to the right inside sc, it leaves a
trail behind :-( :-(

Richard K. Lloyd,       **** This is a MicroVAX II running VAX/VMS V5.4 ****
Computer Science Dept.,   JANET     : rkl@uk.ac.liv.cs.and
Liverpool University,     Internet  : rkl%and.cs.liv.ac.uk@nsfnet-relay.ac.uk
Merseyside, England,      UUCP      : ..!mcsun!ukc!liv-cs!rkl
Great Britain.          Q: "What's the world's fastest home micro ?"
L69 3BX                 A: "The Archimedes A3000. 4 MIPS for under 800 pounds."