comp.lang.ada
 help / color / mirror / Atom feed
From: mooremj@EGLIN-VAX.ARPA ("MARTIN J. MOORE")
Subject: Protecting binary libraries in VAX Ada
Date: 29 Feb 88 13:29:00 GMT	[thread overview]
Message-ID: <8802291335.AA14051@ajpo.sei.cmu.edu> (raw)

> From: clyde!wayback!arny@bellcore.bellcore.com  (Arny B. Engelson)
> Subject: Protection for Ada Binary Libraries
> [...]  My (current) solution (using DEC's VAX Ada) is to simply delete the
> .ADC (the copied source) files from the Ada library for those units that 
> the user doesn't need to see.  [...] 

You are working too hard.  You can tell the VAX Ada compiler not to create
the .ADC files in the first place by using the /NOCOPY_SOURCE qualifier on
the ADA, ACS COMPILE, or ACS RECOMPILE commands.  From the on-line help text:

| $ HELP ADA /COPY_SOURCE
| 
| ADA
| 
|   /COPY_SOURCE
| 
|    /COPY_SOURCE (D)
|    /NOCOPY_SOURCE
| 
|     Controls whether a copied source file (.ADC) is created in the current
|     program  library  when  a  compilation unit is compiled without error.
|     The RECOMPILE command requires that a copied source file exist in  the
|     current program library for any unit that is to be recompiled.
| 
|     By default, a copied source file is created  in  the  current  program
|     library when a unit is compiled without error.

Martin Moore
mooremj@eglin-vax.arpa
------

             reply	other threads:[~1988-02-29 13:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-02-29 13:29 "MARTIN J. MOORE" [this message]
1988-03-07 13:57 ` Protecting binary libraries in VAX Ada Arny B. Engelson
replies disabled

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