Yurttas/PL/IL/Ada-95/docs/gnat-setup.html
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:
- GNAT Reference Manual
- GNAT User's Guide
- Using GNU CC
- Debugging with GDB - Source Level debugger
- Using the Graphical Interface to GDB