man adaed
'' on NYU computers for the man page.
.login
'' file:
setenv ADAED /usr/local
.ada
, for example ``file1.ada
,'' ``file2.ada
,''
etc. The compiler will compile your files into a library whose name
you must specify, e.g., ``testlib
.''
%adacomp -n -l testlib file1 --use -n flag to creat a new library %adacomp -l testlib file2 %adacomp -l testlib ... %adabind testlib --binding a given binary library to --form an executable program %adaexec testlib --run the ada program
Note that you need not specify the .ada
extension
of your files. The name following -l will be the file where compiled
program is placed. In your Ada program you must put the following
statements:
with text_io; procedure foo is use text_io; package int_io is new integer_io(integer); use int_io; ... --the rest of your programwhere
foo
is your outermost (main) procedure.