comp.lang.ada
 help / color / mirror / Atom feed
* Protecting binary libraries in VAX Ada
@ 1988-02-29 13:29 "MARTIN J. MOORE"
  1988-03-07 13:57 ` Arny B. Engelson
  0 siblings, 1 reply; 2+ messages in thread
From: "MARTIN J. MOORE" @ 1988-02-29 13:29 UTC (permalink / 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
------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1988-03-07 13:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1988-02-29 13:29 Protecting binary libraries in VAX Ada "MARTIN J. MOORE"
1988-03-07 13:57 ` Arny B. Engelson

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