| 3 | == Step 1 == |
| 4 | |
| 5 | We assume that all the required component are already installed in your system. |
| 6 | We also supposed that ''gcc/GNAT'' is in your binary PATH and that your ''LD_LIBRARIES_PATH'' |
| 7 | contains the installation directory of ''!GtkAda''. |
| 8 | |
| 9 | == Step 2 == |
| 10 | |
| 11 | Update the Makefile.vars file : |
| 12 | |
| 13 | * Give Cheddar directory source code location (pointed by ''ROOT_CHEDDAR'' variable). |
| 14 | * Update the ''ADAC_INCLUDE'' and the ''ADAC_LIB'' variables according to ''Gtk'', ''!GtkAda'', ''!XmlAda'', ''!BigNumbers'' and ''Ocarina'' installation directories. |
| 15 | |
| 16 | '''Several Makefile.vars examples are provided in the Cheddar source code''' (''Makefile.vars.linux'' for Linux, ''Makefile.vars.solaris'' for Solaris, ''Makefile.vars.win32'' for Windows boxes ...) |
| 17 | |
| 18 | == Step 3 == |
| 19 | |
| 20 | If necessary, read and update the ''config/*.ads'' packages. These Ada packages contain all Cheddar's configurable constants. |
| 21 | |
| 22 | == Step 4 == |
| 23 | |
| 24 | Type ''gmake'' to compile Cheddar. |
| 25 | |
| 26 | == Step 5 == |
| 27 | |
| 28 | If the compilation succeed, you will find cheddar tools in ''binaries'' directory. |
| 29 | |
| 30 | == Step 6 == |
| 31 | |
| 32 | Installation rules : |
| 33 | |
| 34 | * On Unix boxes : just copy executables in the installation directory (eg. ''/usr/local/bin'' ). It is supposed that you already installed ''Gtkada'' shared libraries. Do not forget to update your ''LD_LIBRARY_PATH'' shell variable to point to the shared library directory (see ''libs'' directory). |
| 35 | |
| 36 | * On Win32 boxes : copy ''cheddar.exe'' and the ''Dll'' files of the win32dll directory in the '''Same''' installation directory (eg. ''C:\Cheddar''). |
| 37 | |
| 38 | == Step 7 == |
| 39 | |
| 40 | Have fun. |