Installer README 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Welcome to Free Pascal for MPW on classic Mac OS
  2. ================================================
  3. Please also read the general README file.
  4. NOTE!
  5. Free Pascal for MPW is still considered beta quality and a lot of things
  6. are still missing. However ordinary programs should be able to compile. And
  7. the compiler can compile itself.
  8. Things which is not included: IDE, GDB, unitlity programs, demos, FPCMake
  9. For documentation, please download separatelly.
  10. How to install:
  11. ---------------
  12. 1. If yo do not have MPW, please install MPW first.
  13. MPW can be downloaded for free from Apple, see web page:
  14. http://developer.apple.com/tools/mpw-tools/
  15. download at:
  16. ftp://ftp.apple.com/developer/Tool_Chest/Core_Mac_OS_Tools/MPW_etc./
  17. It is then recommended that you upgrade to MPW Shell 3.6b1.
  18. 2. Double click the file "INSTALL". This will launch an
  19. install script (via the ToolServer application, which is
  20. included in the MPW installation).
  21. 3. If it is the first time you install Free Pascal,
  22. the install script will ask where you want to create the
  23. FreePascal folder.
  24. 4. The installer will copy necessary files to the
  25. FreePascal folder, create an fpc.cfg file,
  26. and also add a startup script in
  27. the Startup Items folder in the MPW folder.
  28. 5. Done.
  29. What is installed ?
  30. -------------------
  31. 1. The FreePascal folder in a nice place.
  32. 2. A file "FPC Startup" in "Startup Items" in MPW.
  33. 3. An entry in "FPC Startup" which sets the environment variable FPCDIR
  34. to point to the FreePascal folder.
  35. 4. An entry in "FPC Startup" which adds the :FreePascal:bin folder to
  36. the Commando search path.
  37. 5. A fpc.cfg file in :FreePascal:bin, with among others, a path to
  38. the runtime library (rtl).
  39. Uninstallation
  40. --------------
  41. 1. Delete the FreePascal folder.
  42. 2. Delete the file "FPC Startup" from the folder "Startup Items" in MPW
  43. Tips
  44. ----
  45. * Usage, in short: To compile e. g. hello.pp, in MPW type:
  46. fpc hello.pp
  47. And press ENTER. Done.
  48. * If you want to compile large programs, and in particular the rtl
  49. or the compiler itself, please increase the memory setting of
  50. MPW to 50 MB and ToolServer to 30 MB.
  51. * Note that unit Sysutils.pp is not yet ported to MacOS, thus units
  52. dependant on Sysutils.pp does neither work.
  53. * To invoke the compiler you can either use the command 'ppcppc' or 'fpc'.
  54. Fpc is a wrapper script which simply call 'ppcppc'
  55. * Use mac style search path's.
  56. * Debugging is not available.
  57. Inner workings
  58. --------------
  59. FreePascal for MPW is an MPW tool. When FreePascal wants to assemble
  60. and link, it calls PPCAsm and PPCLink, via ToolServer.
  61. More info
  62. ---------
  63. www.freepascal.org/fpcmac.html
  64. http://www.freepascal.org/wiki/index.php/Target_MacOS
  65. http://www.freepascal.org/wiki/index.php/Mode_MacPas