fpcdemos.txt 1.3 KB

12345678910111213141516171819202122232425262728
  1. FPC demo package
  2. ================
  3. This packages contains the following subdirectories:
  4. - text text mode demos (should run everywhere)
  5. - graph demos those use the graph unit (runs nearly everywhere)
  6. includes gameunit (text&graph), outputs to another subdir level
  7. - modex demos those make extensive use of modeX (runs with go32v2 only)
  8. - win32 demos those are win32 specific
  9. - linux demos those are linux specific
  10. - lister KVM api demo. Runs on Unix and win32 currently.
  11. - os2 demos those are OS/2 specific
  12. - palmos demos those are palmos specific (dragonball)
  13. - netware demos those are netware(clib) specific
  14. - netwlibc demos those are netware(libc) specific
  15. - macos demos those are macos (classic) specific
  16. To build the programs (except for macos) simply type 'make' in the base
  17. dir. To do a cross build, type make OS_TARGET=crosstarget, i.e. make
  18. OS_TARGET=win32. This assumes the crossbinutils and cross RTL are properly
  19. installed and configured.
  20. To build the macos sample, issue the command 'fpc <filename>' in MPW in
  21. directory macos.
  22. If you want to add further samples, edit Makefile.fpc and rebuild the real
  23. Makefile by entering 'fpcmake -T all'. This is a special fpc generic utility
  24. to simplify platform independent makefile generation for the user.