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

From ZCubes Wiki
Revision as of 03:33, 5 November 2013 by MassBot1 (talk | contribs) (Created page with "* '''gnat''' - simple documentation for Ada-95 on a Solaris machine. ---- * You need to structure your working directories, i.e. "'''<code>mkdir ADA</code>'''" and keep ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • 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