comp.lang.ada
 help / color / mirror / Atom feed
From: offer@ada-uts
Subject: Re: Protection for Ada Binary Libraries
Date: 20 Feb 88 16:04:00 GMT	[thread overview]
Message-ID: <57900063@ada-uts> (raw)
In-Reply-To: 324@ajpo.sei.cmu.edu


There are three different issues in your question:

1. Most compilers, and in particular, those that use DIANA, have a
mechanism to not include the source (or some form of internal
representation of the source) in the program library, the reasons
being: reducing the size of those libraries and keeping bodies' source
code proprietary (e.g. the implementation of TEXT_IO). The disadvantage
is clearly the inability the see the source at debug time and also
the inability to provide pretty-printing/interspersed source/assembly
listings.

2. Most compilers, today, support hierarchical library structure. By
protecting part of the library, one can inhibit read access to
certain data in this part (this is both a program library manager and
a debugger functionality). A vendor may put the spec in one library
and the body in another and protect the later.

3. About a binary interface to a reusable component. The only way
to do it without the need to recompile for each compiler, is to agree
on standard binary interface (calling sequence, data reps, etc). The
compiler can then support it via pragma INTERFACE. I believe as more
and more similar requirements appear, those standards will emerge.

Offer Pazy
Intermetrics, Inc.
Cambridge, MA
(617) 661-1840

  reply	other threads:[~1988-02-20 16:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-02-19 10:14 Protection for Ada Binary Libraries Edward Berard
1988-02-20 16:04 ` offer [this message]
1988-03-03 20:59   ` Barnacle Wes
1988-02-23 13:47 ` Arny B. Engelson
1988-02-25  3:39   ` Ada Bozo
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox