fpc/packages/ibase
2024-09-29 16:56:18 +03:00
..
examples First compiler Build 2024-09-29 16:56:18 +03:00
namespaced * Dotted filenames for package ibase 2023-07-27 19:04:21 +02:00
scripts
src * Attempt to load .so.2. Fixes issue #40495 2023-11-03 17:02:14 +01:00
fpmake.pp * Add namespaces.lst 2023-07-27 19:04:09 +02:00
Makefile * Remove redundant Makefile.fpc 2023-07-25 13:01:55 +02:00
Makefile.fpc.fpcmake * trunk to 3.3.1 2018-08-18 15:47:44 +00:00
namespaces.lst * Dotted filenames for package ibase 2023-07-27 19:04:21 +02:00
README.txt

This is the README file for the INTERBASE package of FPC

How to compile
--------------

You can compile by hand, or use the makefile. The makefile uses the
makefile.fpc that is distributed by the FPC team.

1) Using the makefile.
   Edit the makefile: 
     set the DEFAULTFPCDIR
     if libgds is not in /usr/lib, set GDSLIBDIR
   type 'make'. It should all compiler

2) By hand:
   simply type:
   ppc386 -S2 ibase60
   (or ibase40 if you have the older version)

   If your libgds.so file is not in /usr/lib, you may need to add
   -Fl/path/to/libgds

Using the testprogram
---------------------

The mkdb script (mkdb.pas batch file) creates a database.
default testdb.gdb is assumed. You can override that by 
specifying an alternate database as an option.

The testib program connects to the testdatabase. You must edit
the testib.pp file and set the database, password and username.
After editing, compile the program. 
Run it and it will display the contents of the database.

Enjoy !

Michael.