Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!Dortmund.Germany.EU.net!main.Germany.EU.net!news-koe1.dfn.de!news-han1.dfn.de!news-ham1.dfn.de!news-ber1.dfn.de!fu-berlin.de!news.apfel.de!news.radio.cz!CESspool!news-feed.inet.tele.dk!enews.sgi.com!arclight.uoregon.edu!news.bbnplanet.com!su-news-hub1.bbnplanet.com!newsxfer3.itd.umich.edu!howland.erols.net!torn!kwon!watserv3.uwaterloo.ca!undergrad.math.uwaterloo.ca!svanegmo
From: svanegmo@undergrad.math.uwaterloo.ca (Stephen van Egmond)
Subject: Re: Inform 6.10 on Mac MPW: Help!
Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
Message-ID: <E4BK7K.9LE@undergrad.math.uwaterloo.ca>
Date: Mon, 20 Jan 1997 18:18:56 GMT
References: <32E2508F.4666@cl.unizh.ch>
Nntp-Posting-Host: cantor.math.uwaterloo.ca
Organization: University of Waterloo
Lines: 18

I am not that familiar with Mac development, but I know Amiga, and I 
imagine that the same CPU model puts on the same restrictions.

You should investigate putting as much data in the "far" section and as 
much code in the "far" section as possible.  The link errors you are 
getting are because the compiler is generating (faster) 16-bit data and 
code references, but the code and data is so far away that a 16-bit 
relative reference won't reach it.  You need to instruct the compiler to 
generate 32-bit references in all cases.  Your compiler, like mine, 
probably defaults to 16-bit.

This will slow you down a bit.  In the Amiga version, I took the 5 
"busiest" modules and moved all their data to the near section, speeding 
things up 10-20%.  You can determine which modules are busiest with a 
profile build and test run on, say, Adventure.  MPW should be able to do 
this.


