fpc/packages/ibase
marco bc30f2cfd0 * update to v 3.0.4
git-svn-id: tags/release_3_0_4@37116 -
2017-09-02 16:48:24 +00:00
..
examples * update to v 3.0.4 2017-09-02 16:48:24 +00:00
scripts
src # revisions: 33347,33406,33548,33576,33577,33578,33579,33602,33603,33683 2016-05-22 16:31:40 +00:00
fpmake.pp * update to v 3.0.4 2017-09-02 16:48:24 +00:00
Makefile * update to v 3.0.4 2017-09-02 16:48:24 +00:00
Makefile.fpc * update to v 3.0.4 2017-09-02 16:48:24 +00:00
Makefile.fpc.fpcmake * update to v 3.0.4 2017-09-02 16:48:24 +00:00
README.txt * added .txt extensions to all README, TODO and COPYING files 2009-02-28 17:34:08 +00:00

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.