Xref: utzoo comp.sys.att:7141 comp.sources.games.bugs:1062 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!wasatch!helios.ee.lbl.gov!ucsd!hub!todd From: todd@ivucsb.sba.ca.us (Todd Day) Newsgroups: comp.sys.att,comp.sources.games.bugs Subject: Re: Nethack 3.00 on a Unix PC: assembler complains. Message-ID: <2151@hub.UUCP> Date: 1 Aug 89 04:46:26 GMT References: <1989Jul31.033853.23599@ntvax.uucp> Sender: news@hub.UUCP Reply-To: todd@ivucsb.sba.ca.us (Todd Day) Organization: University of California, Santa Barbara Lines: 16 In article <1989Jul31.033853.23599@ntvax.uucp> canoaf@ntvax.uucp (Augustine Cano) writes: ~While trying to compile Nethack 3.00 on a 3b1 (67Mb HD/2Mb RAM, 3.51a OS) ~I got the following: ~ ~ cc -O -I../include -c apply.c ~Assembler: apply.c ~aline 359 : branch offset is too remote Evidentally, the optimizer is forgetting about how far away some things are. I got the same problem. Compile as much as you can with the optimizer (-O flag) and compile the ones that break by hand. In this case, cc -I../include -c apply.c Nethack is the only program I've ever had do this. Anyone know why this happens?