ADA shared library, newbie
From: sebastien (ethiobite_at_yahoo.com)
Date: 04/29/04
- Next message: Galen: "dtprefs error messages in [.DT]ERRORLOG."
- Previous message: Alfred Falk: "Re: Dump existing license key info before rebuild?"
- Next in thread: Larry Kilgallen: "Re: ADA shared library, newbie"
- Reply: Larry Kilgallen: "Re: ADA shared library, newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Apr 2004 10:33:01 -0700
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 "-----------------------------"
$ !
- Next message: Galen: "dtprefs error messages in [.DT]ERRORLOG."
- Previous message: Alfred Falk: "Re: Dump existing license key info before rebuild?"
- Next in thread: Larry Kilgallen: "Re: ADA shared library, newbie"
- Reply: Larry Kilgallen: "Re: ADA shared library, newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|