From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: newbie ada question
Date: Tue, 23 Mar 2010 00:59:43 -0700 (PDT)
Date: 2010-03-23T00:59:43-07:00 [thread overview]
Message-ID: <5e0df800-643b-4a28-9ada-1ccd54f41635@q21g2000yqm.googlegroups.com> (raw)
In-Reply-To: b44c02bc-6e7c-4745-9a25-48a0a9d976ae@e1g2000yqh.googlegroups.com
Robin wrote on comp.lang.ada:
> How can I design an ada library that other ada programs can include
> and how do I include the library in the other ada files?
This depends on your compiler and host operating system. If you are
more specific, then someone can give you a "recipe".
Generally speaking, you write your library as a set of Ada packages,
separating specifications from bodies, and you compile all these
bodies into a library. You then provide the specifications for use by
the programs. Some compilers require that you also provide the bodies
for generic units.
--
Ludovic Brenta.
next prev parent reply other threads:[~2010-03-23 7:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-23 0:34 newbie ada question Robin
2010-03-23 7:59 ` Ludovic Brenta [this message]
2010-03-23 10:46 ` Gautier write-only
2010-05-01 21:24 ` Robin
2010-03-26 16:58 ` kug1977
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox