File: README.md

package info (click to toggle)
libgnatcoll-db 18-4
  • links: PTS
  • area: main
  • in suites: buster
  • size: 2,268 kB
  • sloc: ada: 23,786; python: 2,166; makefile: 486; sh: 34; ansic: 18
file content (79 lines) | stat: -rw-r--r-- 1,903 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
The GNAT Components Collection (GNATcoll) - Database packages
=============================================================

This is the DB module of the GNAT Components Collection. Please refer to
individual components for more details.


Dependencies
------------

This module depends on the following external components, that should be
available on your system:

* GPRbuild
* gnatcoll-core
* As well as relevant third-party libraries required by components.


Configuring the build process
-----------------------------

The following variables can be used to configure the build process:

### General:

* `prefix`: location of the installation, the default is the running GNAT
  installation root.

* `BUILD`: control the build options: `PROD` (default) or `DEBUG`

* `PROCESSORS`: parallel compilation (default is 0, which uses all available
  cores)

* `TARGET`: for cross-compilation, auto-detected for native platforms

* `SOURCE_DIR`: for out-of-tree build

* `INTEGRATED`: treat prefix as compiler installation (yes/no) this is so that
  installed GNATcoll project can later be referenced as predefined project of
  this compiler; this adds a normalized target subdir to prefix default is "no"

### Module-specific:

Please refer to individual components. To use the default options:

```sh
$ make setup
```


Building
--------

The components of GNATcoll Database are built using standalone GPR project
files, to build each of them is as simple as:

```sh
$ gprbuild gnatcoll-<component>.gpr
```

However, to build all versions of the library (static, relocatable and
static-pic) it is simpler to use the provided Makefiles:

```sh
$ make -C <component>
```

Then, to install it:

```sh
$ make -C <component> install
```


Bug reports
-----------

Please send questions and bug reports to report@adacore.com following
the same procedures used to submit reports with the GNAT toolset itself.