README 968 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 ibase
  14. If your libgds.so file is not in /usr/lib, you may need to add
  15. -Fl/path/to/libgds
  16. Using the testprogram
  17. ---------------------
  18. The mkdb script (mkdb.pas batch file) creates a database.
  19. default testdb.gdb is assumed. You can override that by
  20. specifying an alternate database as an option.
  21. The testib program connects to the testdatabase. You must edit
  22. the testib.pp file and set the database, password and username.
  23. After editing, compile the program.
  24. Run it and it will display the contents of the database.
  25. Enjoy !
  26. Michael.