Previous topic | Next topic | Ada Home Page | Index

Producing Programs

The commands you must use to compile a program to get it ready for execution depend on the ada system you are using.

The two systems used here are


Sun ada

$ cd lab1

$ adas


$ vi hello.a

$ adac hello.a

$ adae hello

$ a.out

Hello!! This is your computer speaking.

$ a.out

Hello!! This is your computer speaking.

$


gnat ada


lpb@octarine_54 %vi hello.adb

lpb@octarine_55 %gnatcc hello.adb

lpb@octarine_56 %gnatbl hello.ali

lpb@octarine_57 %hello

Hello!! This is your computer speaking.

lpb@octarine_58 %


Previous topic | Next topic | Ada Home Page | Index
x-yao@adfa.oz.au -- 14 May 1997