INSTALL 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. The supported platforms are Linux (on IA-32 and AMD64), Windows and DOS.
  2. FreeBSD and NetBSD compiles and runs fine on the SourceForge compilefarm, but
  3. I haven't tested it on a local machine, so any feedback (+patches) is welcome.
  4. (At least the basic XImage mode works, XShm and dga are not tested since they
  5. need to run on the same machine as the X server, so I can't test them on the
  6. SourceForge compilefarm.)
  7. You need Free Pascal Compiler version 2.0.0. Since there's no DOS version of
  8. 2.0.0, you need 1.0.10 if you are going to use the DOS version of the library.
  9. Please note that DOS is the only platform where the 1.0.10 compiler is
  10. supported.
  11. - Compiling the library:
  12. Before starting make sure the FPCDIR environment variable is set correctly.
  13. For example: (windows, fpc version 2.0.0, default install dir)
  14. set FPCDIR=c:\fpc\2.0.0
  15. To compile the library type:
  16. fpcmake -r
  17. make
  18. Then you can do:
  19. make examples
  20. And then try to run the programs in the demos/ and examples/ dirs.
  21. If compiling the library fails, make sure you're using the GNU make and not
  22. some other make! (e.g. GNU make is called 'gmake' on FreeBSD and NetBSD)
  23. 'make -v' should report:
  24. GNU Make version x.xx.x, ... etc. :)
  25. On Windows and DOS this is the 'make' that comes with Free Pascal.