home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Libraries / stdwin / Ports / mac / README < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.5 KB  |  43 lines  |  [TEXT/????]

  1. Notes for the 0.9.7 release
  2.  
  3. This release has been fixed to work with Think C 5.0, and might also
  4. work with MPW 3.2.  The notes below still apply, more or less.  Note:
  5. the only file you need from the Gen directory is wtextbreak.c!
  6.  
  7.  
  8. Using STDWIN on the Mac
  9.  
  10. This assumes THINK C 4.0.  I believe you can make it work for THINK C
  11. 3.0, check for the symbol THINK_C_3_0 (especially in H/stdwconf.h).
  12. It also works for MPW 2.0, see ../mac_mpw.
  13.  
  14. Copy the files from the following directories to the Mac:
  15.     H
  16.     Tools
  17.     Gen
  18.     Ports/mac
  19.     Packs/textedit
  20.     Appls/miniedit (for testing)
  21.  
  22. Make two projects, stdwin.<pi> and textedit.<pi> (<pi> is the letter
  23. pi, Option-p).  All of STDWIN together is too big for one segment, and
  24. the textedit module is not used by all applications.
  25.  
  26. Project stdwin.<pi> receives all sources from Tools, Gen and
  27. Ports/mac; textedit.<pi> receives those from Packs/textedit.
  28.  
  29. Turn off <MacHeaders>; the sources know exactly which files to include.
  30. (To speed up compilation you can rename "macwin.h" and precompile it,
  31. placing the output in "macwin.h".  This is completely optional.)
  32.  
  33. Compile the sources in each project.  Don't attempt to link.
  34.  
  35. To test, make a project miniedit.<pi> and add all sources from
  36. Appls/miniedit.  Add the ANSI and MacTraps libraries and the
  37. stdwin.<pi> and textedit.<pi> projects you just created.  (Probably
  38. everything in its own segment.)  You now have a simple editor with
  39. regular expression search facility.  Study the source to learn more
  40. about using stdwin.
  41.  
  42. Good luck!
  43.