Sign in Join
Wiki copytemporary

ibase: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11## Free Pascal interface to Interbase/Firebird
22
33### Overview
44
55You can use Free Pascal to access an [[Interbase]] or [[Firebird]] database server from Linux and Windows.
66
77For more information on Firebird, see their [home page](http://www.firebirdsql.org/). For more info on Interbase, see their [home page](http://www.interbase.com/)
88
99Interfacing is very easy; all you need to do is compile some units, and use these units in your program. You need to specify the place of the Interbase client Library (libgds) when compiling, and that is it. the provided units take care of the rest.
1010
1111> **Note:** There is a higher level, object oriented SQLDB wrapper around this unit called [[TIBConnection]] that is more convenient to use. See [[Firebird|the Firebird article]] for more details
1212
1313## Requirements
1414
1515You need at least version 0.99.11 of Free Pascal. The headers are translated for Interbase versions 4 and 6, or Firebird 1.0.
1616
1717## Installation
1818
1919The ibase unit is distributed as part of the Free Pascal packages, and is distributed with the compiler.
2020
2121This file contains a directory base/ibase with the units, a test program and a make file. The following units exist:
2222
2323- **ibase40** the Interbase version 4 or 5 interface header translation. The interface is largely the same as for version 6.
2424- **ibase60** the Interbase version 6 interface header translation. .
2525
2626There is also a test program available.
2727
2828Typing
2929
30-`make`
30+```text
31+make
32+```
3133
3234Should compile the units and the program. If compilation was succesfull, you can install with
3335
34-`make install`
36+```text
37+make install
38+```
3539
3640(Remember to set the directory where the units should be installed.)
3741
3842You can then test the program by running
3943
40-`make test`
44+```text
45+make test
46+```
4147
4248This will:
4349
4450- Run a script to create a table in a database, and fill it with some data. (the isql program should be in your PATH for this) . By default, the used database is testdb.
4551- Run the testprogram testdb
4652- Run a shell script again to remove the created table.
4753
4854You will see a lot of messages on your screen, giving you feedback and results. If something went wrong, make will inform you of this.
4955
5056Go to back [[Package List|Packages List]]
5157
5258---
5359*From the Free Pascal wiki, page "ibase", as it stood on 2016-08-05 after a change by Arent, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
5460Category: Databases
5561Category: Packages

Back to history