Using GNAT

GNAT is installed, but it only seems to work properly on grendel. Therefore, your first step after logging into a Linux system and opening a terminal window should be to ssh over to grendel.

linux> ssh grendel
Password: your-password
grendel>

Once you're logged in, the compiler is easy to use: If the primary file is located in prime.adb, then you would type:

grendel> gnatmake prime.adb
If the program compiles successfully, it will place the machine code into an executable file called prime, which you can execute to test your program.
grendel> ./prime

Of course, you should feel free to contact me if you have any troubles. E-mail is the best approach.