| 1 | |
| 2 | |
| 3 | = GPS Building Instructions = |
| 4 | |
| 5 | == Step 1 == |
| 6 | |
| 7 | Install the GNAT GPL 2007 distribution (GNAT Programming Studio and GNAT Ada compiler should be installed on your system). |
| 8 | |
| 9 | For Windows, just double click on the executable downloaded from !AdaCore web site. |
| 10 | |
| 11 | == Step 2 == |
| 12 | |
| 13 | Open GPS cheddar project (cheddargps.gpr file in Cheddar source code ''trunk'' directory) : |
| 14 | |
| 15 | [[Image(htdocs:GPS2.png, 650)]] |
| 16 | |
| 17 | And Build your selected binary : |
| 18 | |
| 19 | [[Image(htdocs:GPS3.png, 650)]] |
| 20 | |
| 21 | Built binary can be found in Cheddar source code ''trunk/binaries/bin/release or debug'' directory. |
| 22 | |
| 23 | == Step 3 == |
| 24 | |
| 25 | For windows, copy ".exe" files and DLL files stored in the win32dll directory in the '''same''' installation directory (e.g. ''c:\Cheddar''). |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | = !AdaGide Building Instructions = |
| 31 | |
| 32 | == Step 1 == |
| 33 | |
| 34 | Unzip all necessary packages in a "lib" directory in order to have the following tree (Due to !AdaGide restriction, ''Cheddar'' and ''Lib'' directory should be located in hard drive root directory, e.g. ''c:'' ) : |
| 35 | |
| 36 | * Cheddar |
| 37 | * branch |
| 38 | * tags |
| 39 | * trunk |
| 40 | * binaries -> contains Adagide configuration and project files (gnat.ago, ...) |
| 41 | * ... |
| 42 | * txt |
| 43 | * Lib |
| 44 | * !BigNumber |
| 45 | * !GtkAda |
| 46 | * Ocarina |
| 47 | * aadl |
| 48 | * checker |
| 49 | * config |
| 50 | * core |
| 51 | * dia |
| 52 | * dumper |
| 53 | * gaia |
| 54 | * generators |
| 55 | * lib -> contains Ocarina libraries |
| 56 | * pn |
| 57 | * runtime |
| 58 | * !XmlAda |
| 59 | |
| 60 | If packages are located in different directories (default : ''c:\Cheddar'' and ''c:\Lib'') , update "gnat.ago" (''Cheddar/binaries''). |
| 61 | |
| 62 | == Step 2 == |
| 63 | |
| 64 | Open cheddar.adb with !AdaGide and push the !AdaGide "Build" button. Built binary can be found in ''Cheddar/trunk/binaries/'' directory. |
| 65 | |
| 66 | [[Image(htdocs:AdaGide.png, 650)]] |
| 67 | |
| 68 | == Step 3 == |
| 69 | |
| 70 | Repeat step 2 with xml2xml.adb, aadl2xml.adb, xml2aadl.adb, aadl2aadl.adb and scc.adb. |
| 71 | |
| 72 | == Step 4 == |
| 73 | |
| 74 | Installation rules : copy ".exe" files and DLL files stored in the win32dll directory in the '''same''' installation directory (e.g. ''c:\Cheddar''). |