Yurttas/PL/IL/Ada-95/docs/gnat-setup.html

  • gnat - simple documentation for Ada-95 on a Solaris machine.

  • You need to structure your working directories, i.e. "mkdir ADA" and keep all your Ada work hidden in subdirectories of your "ADA" directory.

Assuming that your environment is set-up correctly, then compilation and linkage can be done with the gnatmake utility as follows:

  • gnatmake filename

[source code for ada procedure should be named as filename.adb]

For execution, all you need to type in is: "filename" of executable that is used in
gnatmake filename.

For detailed information:

  1. GNAT Reference Manual
  2. GNAT User's Guide

  3. Using GNU CC
  4. Debugging with GDB - Source Level debugger
  5. Using the Graphical Interface to GDB