1
If you want to develop Ada programs and libraries on Debian, please
2
read the Debian Policy for Ada:
4
http://people.debian.org/~lbrenta/debian-ada-policy.html
6
The default Ada compiler is and always will be the package `gnat'.
7
Debian contains many programs and libraries compiled with it, which
8
are all ABI-compatible.
10
Starting with gnat-4.2, Debian provides both zero-cost and
11
setjump/longjump versions of the run-time library. The zero-cost
12
exception handling mechanism is the default as it provides the best
13
performance. The setjump/longjump exception handling mechanism is new
14
and only provided as a static library. It is necessary to use this
15
exception handling mechanism in distributed (annex E) programs. If
16
you wish to use the new sjlj library:
18
1) call gnatmake with --RTS=sjlj
19
2) call gnatbind with -static
21
Do NOT link your programs with libgnat-4.2.so, because it uses the ZCX