Xref: utzoo comp.sys.mac.programmer:18542 comp.sys.mac.misc:4840 Path: utzoo!attcan!uunet!mcsun!cernvax!chx400!forty2!plaz From: plaz@forty2.physik.unizh.ch (Joerg Plaz) Newsgroups: comp.sys.mac.programmer,comp.sys.mac.misc Subject: MPW Linker : Jump Table Overflow : Summary Message-ID: <1342@forty2physik.unizh.ch> Date: 26 Oct 90 19:01:03 GMT Followup-To: comp.mac.programmer Organization: Physics Institute University Zuerich, Switzerland Lines: 28 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 and Eric Hegstrom 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)