fpc/packages/base/ibase
peter 86f78c7300 * units are now created in separate directory units/cpu-os/
* distclean uses cleanall rule and removes units dir
  * cross compile support fixed, it is now possible to cycle a ppcsparc
    without deleting ppc386
  * bintutilsperfix defaults to cpu-os-
2004-10-30 12:36:43 +00:00
..
ibase40.pp * old logs removed and tabs fixed 2002-09-07 15:40:30 +00:00
ibase60.h * splitted to base and extra 2002-01-29 17:54:48 +00:00
ibase60.pp + Added crypt library 2003-04-13 10:26:34 +00:00
Makefile * units are now created in separate directory units/cpu-os/ 2004-10-30 12:36:43 +00:00
Makefile.fpc * first part of version number update 2004-05-30 09:15:35 +00:00
mkdb * splitted to base and extra 2002-01-29 17:54:48 +00:00
mkdb.bat * splitted to base and extra 2002-01-29 17:54:48 +00:00
mkdb.sqd * splitted to base and extra 2002-01-29 17:54:48 +00:00
README * splitted to base and extra 2002-01-29 17:54:48 +00:00
testib40.pp * old logs removed and tabs fixed 2002-09-07 15:40:30 +00:00
testib60.pp * the exception that proves the rule: {$ifdef unix} replaced by {$ifdef linux} :-) 2003-08-09 15:18:30 +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.