[comp.sources.games.bugs] nethack on IBM RT and IBM Risc System/6000

tif@doorstop.austin.ibm.com (Paul Chamberlain) (07/27/90)

I have compiled and run nethack on an RT and a RISC System/6000 (9013).
Neither of these have been tested to completion (I've never been a
hack wizard) but have been run to about level 6.

On the RT:
	Use SYSV.  Use a -Nn2000 in CFLAGS.  Too stop core dumps I had to
	change the uchar typedef to an unsigned short.  With optimization
	took numerous hours to compile.  This is one of the faster kinds
	of RT but I don't know model numbers.  Executable about 975K.

On the RS:
	Use SYSV.  Use a -D_NO_PROTO in CFLAGS.  Had to remove the
	typedef for uchar since it already existed.  Had to make the
	prototype and the definition of rename() excluded for "_AIX".
	Compiled with optimization in 40 minutes!!!  This is a back-
	level floor standing model (520?).  Executable about 1200K.
	There are probably better ways then _NO_PROTO but it was the
	first thing I found.  I did see an error when it starts up so
	something may be lurking (probably the rename()).

Paul Chamberlain | I do NOT represent IBM         tif@doorstop, sc30661@ausvm6
512/838-7008     | ...!cs.utexas.edu!ibmaus!auschs!doorstop.austin.ibm.com!tif