Shared library, ADA83 on VMS
From: Sébastien (ethiobite_at_yahoo.com)
Date: 04/29/04
- Next message: Brian_Heilig: "Re: OOP Language for OS Development"
- Previous message: Robert I. Eachus: "Re: Hierarchical States Machines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Apr 2004 10:34:59 -0700 (PDT) To: comp.lang.ada@ada-france.org
Hello,
I'm trying to compile some simple
examples with DEC ADA on a vms station.
test_stack ... Main test
shared_stack ... Body and spec
I would like to build a shareable image
using the acs utility and I have the
message Unit MYLIB not found in directory.
Can someone help me please,
Sebastien.
$ ! ------------------------------------------
$ !
$ ! DCL lines for compilation up to
$ ! execution of a simple Ada program.
$ !
$ ! Creation : Sebastien Thoos
$ ! Date : 12.04.2004
$ !
$ !
$ ! SETTING THE FILES
$ say := WRITE SYS$OUTPUT
$ adaform/ident test_stack.ada
$ adaform/ident shared_stack_.ada
$ adaform/ident shared_stack.ada
$ purge
$ !
$ ! LIBRARY COMPILATION
$ acs create library [.adalib]
$ acs set library/path [.adalib]
$ acs load shared_stack*
$ acs compile shared_stack /architecture=generic
$ !
$ ! SHARED LIBRARY CREATION
$ lib/cre mylib.olb
$ lib mylib.olb [.adalib]*.obj
$ !
$ ! INFO ON THE SHARED LIBRARY
$ lib/list=mylib.lis/full mylib.olb
$ type mylib.lis
$ del mylib.lis;*
$ !
$ ! COMPILATION OF THE TEST APPLICATION
$ acs load test_stack
$ acs compile test_stack
$ !
$ ! LINK OF THE TEST APPLICATION
$ acs link test_stack, mylib/library
$ !
$ ! RUNNING THE APPLICATION
$ !say "-----------------------------"
$ !run test_stack
$ !say "-----------------------------"
$ !
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
- Next message: Brian_Heilig: "Re: OOP Language for OS Development"
- Previous message: Robert I. Eachus: "Re: Hierarchical States Machines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|