[comp.sys.mac.programmer] Calling routines in a large unsegmented piece of code

sas1@tank.uchicago.edu (stuart austin schmukler) (12/10/88)

Hello All:

Does anyone have a way to get MPW generate code to allow routines in a
large segment (>32k)  of code to call each other?  


SaS

earleh@eleazar.dartmouth.edu (Earle R. Horton) (12/10/88)

In article <1121@tank.uchicago.edu> sas1@tank.uchicago.edu 
	(stuart austin schmukler) writes:
>
>Hello All:
>
>Does anyone have a way to get MPW generate code to allow routines in a
>large segment (>32k) of code to call each other?  
>

Yeah.  You get Aztec C, and link your code using the Aztec linker.
Dunno if MPW 3.0 object files are a different format from 2.0.  If so,
you have to wait for a new release of the Aztec linker.  Haven't
tried this, but the Aztec manual says their linker can (a) link MPW
version 1.0 and version 2.0 object modules, and (b) link large code
resources.

I do know that the Aztec linker can link a fairly large program that I
wrote, consisting of mainly Aztec object files and A FEW MPW object
files, and the thing works fine.  Aztec C is essentially source-code
compatible with MPW C.
Earle R. Horton. 23 Fletcher Circle, Hanover, NH 03755
(603) 643-4109
Graduate student.