[comp.sys.mac.misc] MPW Linker : Jump Table Overflow : Summary

plaz@forty2.physik.unizh.ch (Joerg Plaz) (10/27/90)

Here is my Summary :
Problem : If you link a source code, that contains more than
          32 Kbyte or has a global data section longer than that,
          the MPW 3.0 linker will produce a jumptable overflow.
Possible solution :
          You can segment your sourcecode by using the compilerdirective
          {$S Segname}, where Segname can be an arbitrary string.
          These directives have to be *between* procedures.Like :
          {$S FirstSegment}
           .
           .    Pascal Code
          {$S SecondSegment}
           .
           .    more Pascal Code
           .
           ( see IM about the SegmentLoader ) 

I thank to everybody who replied, specially to 
         Matthias Neeracher <mneerach@iic.ethz.ch> and 
         Eric Hegstrom <enh@alpha.sunquest.com> who pointed me
         to  the $S solution.

Joerg Plaz


-- 
Joerg Plaz, Physics Institute University of  Zuerich (Switzerland)
inet: plaz@physik.unizh.ch (bang: uunet!chx400!forty2!plaz)