README 1016 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. This is the README file for the INTERBASE package of FPC
  2. How to compile
  3. --------------
  4. You can compile by hand, or use the makefile. The makefile uses the
  5. makefile.fpc that is distributed by the FPC team.
  6. 1) Using the makefile.
  7. Edit the makefile:
  8. set the DEFAULTFPCDIR
  9. if libgds is not in /usr/lib, set GDSLIBDIR
  10. type 'make'. It should all compiler
  11. 2) By hand:
  12. simply type:
  13. ppc386 -S2 ibase60
  14. (or ibase40 if you have the older version)
  15. If your libgds.so file is not in /usr/lib, you may need to add
  16. -Fl/path/to/libgds
  17. Using the testprogram
  18. ---------------------
  19. The mkdb script (mkdb.pas batch file) creates a database.
  20. default testdb.gdb is assumed. You can override that by
  21. specifying an alternate database as an option.
  22. The testib program connects to the testdatabase. You must edit
  23. the testib.pp file and set the database, password and username.
  24. After editing, compile the program.
  25. Run it and it will display the contents of the database.
  26. Enjoy !
  27. Michael.