File: INSTALL

package info (click to toggle)
libgtkada 21.0.0.785f3cf4-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 41,160 kB
  • sloc: ada: 203,114; xml: 8,403; python: 4,501; perl: 3,838; ansic: 2,949; sh: 2,851; makefile: 351; objc: 160; javascript: 100
file content (33 lines) | stat: -rw-r--r-- 1,196 bytes parent folder | download
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
Installing and compiling your programs
======================================

If you have a previous version of GtkAda on your system, we recommend that
you move/remove it using e.g. the following command:

   $ mv <prefix>/include/gtkada <prefix/include/gtkada.old

where <prefix> is the prefix you used to configure GtkAda the first time.
The default prefix is /usr/local. If you don't have the rights to move
these files, then you should at least make sure that your ADA_INCLUDE_PATH
and your ADA_OBJECTS_PATH don't include this directory before building GtkAda.

To install GtkAda, you will first need to install GNAT in order to compile
it.

On Unix systems, you'll then just need to run the following command once
GNAT is installed and available in your PATH:

   $ sudo env "PATH=$PATH" ./doinstall

On Windows, just run the Gtkada installer and follow the displayed instructions.

Note that you might have to be root to install GtkAda on your system.

On Unix systems, you'll need to run the <prefix>/bin/gtkada-env.sh script
to setup your environment for Gtkada.

Then, to compile your application, simply add on top of your project file:

   with "gtkada";

And compile with GPRbuild.