@@ -11,43 +11,20 @@ The default prefix is /usr/local. If you don't have the rights to move
1111these files, then you should at least make sure that your ADA_INCLUDE_PATH
1212and your ADA_OBJECTS_PATH don't include this directory before building GtkAda.
1313
14- To install GtkAda, you first need to install GNU make, glib, pango, atk and
15- gtk+, then do the following:
14+ To install GtkAda, you will first need to install GNAT in order to compile
15+ it.
1616
17- If you are under Windows, you need to use GCC 4.7 (or later) to build the
18- C files, and a unix-like environment (e.g. cygwin or msys) where the paths
19- correspond to real Windows path (for instance by installing cygwin under
20- the root directory). You can use an older GCC version for the Ada files
21- (gnatmake). Under sh:
17+ On Unix systems, you'll then just need to run the following command once
18+ GNAT is installed and available in your PATH:
2219
23- $ (cd src; patch -p0 < ../contrib/gtkada-2.10-win32.diff)
24- $ CC='gcc-4.7 -mms-bitfields' ./configure --prefix=<install_dir> \
25- --build=i686-pc-mingw32
26- $ make
27- $ make install
20+ $ sudo env "PATH=$PATH" ./doinstall
2821
29- On OSX, we need to use the system's gcc to compile some of the files.
30- So the build procedure is:
31-
32- $ CC=/usr/bin/gcc ./configure --prefix=<install_dir>
33- $ make
34- $ make install
35-
36- On others platforms:
37-
38- $ ./configure --prefix=<install_dir>
39- $ make
40- $ make install
41-
42- This will create (and install) the GtkAda library and then compile the
43- testgtk example.
22+ On Windows, just run the Gtkada installer and follow the displayed instructions.
4423
4524Note that you might have to be root to install GtkAda on your system.
4625
47- Finally, update your LD_LIBRARY_PATH variable to include the <prefix>/lib
48- directory, so that the linker can find the libraries. The other
49- alternative under GNU/Linux if you have root priviledges is to add this
50- 'prefix/lib' directory added in /etc/ld.conf and then run ldconfig.
26+ On Unix systems, you'll need to run the <prefix>/bin/gtkada-env.sh script
27+ to setup your environment for Gtkada.
5128
5229Then, to compile your application, simply add on top of your project file:
5330
0 commit comments