[comp.sources.games.bugs] Nethack 3 - Linking Problem

croes@imec.uucp (Kris Croes) (08/24/89)

A friend of mine asked me to submit the following message.
Eventually, you can reply to me, or mail to him (his address is
below).

  Dear Net-landers,

  it is rumoured that also the brave adventurers of the MS-DOS
  Guild can have access to the dungeons of Nethack 3 !

  But my question is : how do you link the objects together ?

  I set up the sources (patchlevel 1) on my AT clone. I disabled all
  the fun options and after some minor modification of the makefile
  everything compiled whithout errors with MS-C v5.0 .
  The option used are those from the Makefile.pc ;

  cl -AL -DLINT_ARGS -Ot -Oa -Gs -Gt28 -I..\include -c *.c
  link -exepack -noig -stack:0x0AFF -seg:512 $(HOBJ) 

  However the linker complains about the CONST segment being larger 
  than 64k ! What am I doing wrong ? How can you tell the compiler 
  not to put the strings like "You feel much faster now" in the same
  CONST segment ?

  thank you very much for your help.

  UUCP: symons@imec.uupc   

-- 
--------
K. CROES - IMEC - Leuven - Belgium   ..!prlb2!imec!croes

The Demon King bites in your leg and you feel weaker.