home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12902 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.3 KB

  1. Path: sparky!uunet!portal!cup.portal.com!Chewy
  2. From: Chewy@cup.portal.com (Paul Frederick Snively)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Jump table entries limit in MPW
  5. Message-ID: <62644@cup.portal.com>
  6. Date: Wed, 22 Jul 92 22:32:00 PDT
  7. Organization: The Portal System (TM)
  8. References:  <1992Jul22.213510.13122@leland.Stanford.EDU>
  9. Lines: 22
  10.  
  11. MPW 3.2 and later's compilers and linker support a new runtime model called,
  12. appropriately enough, `32-bit everything.'  The idea is that no holds are
  13. barred, but this involves some pretty hinky-looking patches and extensions to
  14. the old Mac runtime model, particularly jump tables.
  15.  
  16. Since the jump table format is somewhat critical to MacApp 2.x, you need some
  17. replacement files for portions of MacApp 2.x if you intend to use 32-bit
  18. everything.  Those replacements files are, I believe, in an `Unsupported'
  19. folder on the various releases of the ETO CD-ROM.  I believe that they are
  20. also available on AppleLink.
  21.  
  22. So how do you use 32-bit everything?  You pass the -model far[Code|Data]
  23. option to the compiler(s) and -model far to the linker.  If you use the
  24. replacement files for MacApp 2.x, everything should be copacetic.
  25.  
  26. I don't believe that any code changes are necessary to MacApp 3.x to support
  27. 32-bit everything...
  28.  
  29. Hope this helps,
  30. Paul Snively
  31. Dissolute Wandering Hacker
  32. chewy@apple.com
  33.