fpc/packages/ibase
marco 1295c499c9 * More fpmake fixes. Exampledirs and includefiles mostly fixed for these.
gdbint moves two examples from src to exampledir + makefile fix.

git-svn-id: trunk@11949 -
2008-10-22 22:08:05 +00:00
..
scripts * Package ibase moved + makefile.fpc's. fpmake and regenned makefiles 2008-01-26 13:53:13 +00:00
src * shared suffix use for fb (for mac os x compat), bug #12062 2008-09-05 07:47:25 +00:00
tests * Package ibase moved + makefile.fpc's. fpmake and regenned makefiles 2008-01-26 13:53:13 +00:00
fpmake.pp * More fpmake fixes. Exampledirs and includefiles mostly fixed for these. 2008-10-22 22:08:05 +00:00
Makefile * regened makefiles to propagate makefile versions 2008-10-22 17:32:15 +00:00
Makefile.fpc * updated all makefile.fpc versions to 2.2.2 for fppkg compat. 2008-10-22 17:19:13 +00:00
README * Package ibase moved + makefile.fpc's. fpmake and regenned makefiles 2008-01-26 13:53:13 +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.