Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!EGLIN-VAX.ARPA!mooremj From: mooremj@EGLIN-VAX.ARPA ("MARTIN J. MOORE") Newsgroups: comp.lang.ada Subject: Protecting binary libraries in VAX Ada Message-ID: <8802291335.AA14051@ajpo.sei.cmu.edu> Date: 29 Feb 88 13:29:00 GMT Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: "MARTIN J. MOORE" Organization: The Internet Lines: 29 > 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 ------