wiki:building

Version 1 (modified by jerome, 17 years ago) (diff)

--

GPS Building Instructions

Step 1

Install the GNAT GPL 2007 distribution (GNAT Programming Studio and GNAT Ada compiler should be installed on your system).

For Windows, just double click on the executable downloaded from AdaCore web site.

Step 2

Open GPS cheddar project (cheddargps.gpr file in Cheddar source code trunk directory) :

GPS2.png

And Build your selected binary :

GPS3.png

Built binary can be found in Cheddar source code trunk/binaries/bin/release or debug directory.

Step 3

For windows, copy ".exe" files and DLL files stored in the win32dll directory in the same installation directory (e.g. c:\Cheddar).

AdaGide Building Instructions

Step 1

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: ) :

  • Cheddar
    • branch
    • tags
    • trunk
      • binaries -> contains Adagide configuration and project files (gnat.ago, ...)
      • ...
      • txt
  • Lib
    • BigNumber
    • GtkAda
    • Ocarina
      • aadl
      • checker
      • config
      • core
      • dia
      • dumper
      • gaia
      • generators
      • lib -> contains Ocarina libraries
      • pn
      • runtime
    • XmlAda

If packages are located in different directories (default : c:\Cheddar and c:\Lib) , update "gnat.ago" (Cheddar/binaries).

Step 2

Open cheddar.adb with AdaGide and push the AdaGide "Build" button. Built binary can be found in Cheddar/trunk/binaries/ directory.

AdaGide.png

Step 3

Repeat step 2 with xml2xml.adb, aadl2xml.adb, xml2aadl.adb, aadl2aadl.adb and scc.adb.

Step 4

Installation rules : copy ".exe" files and DLL files stored in the win32dll directory in the same installation directory (e.g. c:\Cheddar).