[comp.sources.games.bugs] NetHack 3.0p5 vs. A/UX or THINKC4

john@trigraph.uucp (John Chew) (10/20/89)

I haven't had trouble installing and maintaining NetHack 3.0 through
patch 4 on a Mac IIcx running A/UX 1.1 and a VAX running 4.3 BSD,
but here are some of the problems I've encountered with patch five:
maybe someone can explain them?

1. Compiling options.c with cc or cc -O creates two different internal
   symbols for the label 'bad:'.  L%1072 is used for the first two
   'goto bad;'s and L%1104 for the rest.  The only label that makes it
   into the symbol table however is L%1104, which causes ld to complain
   that the symbol L%1072 is missing.  I worked around this by editing
   options.s to add L%1072: right after L%1104: but find this somewhat
   tedious, and am also stumped as to why the problem occurs in the
   first place.

2. Has anyone managed to compile NetHack with THINK C 4?  After a few 
   hours writing functions to replace the macros getuid() and getpid(), 
   running around fixing swapping botched #ifdef SMALLDATA and #ifdef MACOS,
   splitting the pray.c etc. segment (86 bytes too big) and doing other 
   irksome patches I've managed to get the project to compile (with 5 MB
   of RAM you can just barely squeeze the source and a project file into
   a 3.5 MB RAM disk and still have room to run THINK C), but now I find
   that Rez won't compile the resource file.  Argh....  Did someone test
   this before it was shipped?

John






-- 
john j. chew, iii   		  phone: +1 416 425 3818     AppleLink: CDA0329
trigraph, inc., toronto, canada   {uunet!utai!utcsri,utgpu,utzoo}!trigraph!john
dept. of math., u. of toronto     poslfit@{utorgpu.bitnet,gpu.utcs.utoronto.ca}