8 Getting Started
Uli Kusterer edited this page 2022-10-16 14:06:36 +02:00
  • Build the mpw tool in this repository according to the instructions in the Readme.md
  • Get a copy of MPW for classic MacOS (see Wiki page).
  • Create a folder ~/mpw.
  • Copy the files from the verbatim folder in this repository into it (so you have e.g. a ~/mpw/Environment.text file, not ~/mpw/verbatim/Environment.text).
  • Open the file Environment.text with a text editor and change the MPWVersion ?= 3.2 line to match whatever version your MPW Shell application shows if you choose Get Info on it in Finder.
  • Open the Interfaces&Libraries folder from your copy of MPW, and copy the Interfaces, Libraries, DebuggingLibraries and RuntimeLibraries folders inside it to your ~/mpw folder (so you have e.g. a ~/mpw/Interfaces/CIncludes folder).
  • open the MPW folder and copy the Tools folder from there to your ~/mpw folder (so you have e.g. a ~/mpw/Tools/AboutBox file).
  • install the mpw tool using:
    % cd build
    % cmake --install .
    

Your MPW should now be ready for use and installed in /usr/local/bin (and therefore in your $PATH). You can now e.g. create a Makefile that uses the mpw tool for building to actually build an application.