Re: Compilation without implementation source
- From: "Jeffrey R. Carter" <spam.jrcarter.not@xxxxxxxxxxxxxx>
- Date: Sun, 27 Jan 2008 17:04:49 GMT
Gene wrote:
For an educational exercise using GNAT and gnatmake, I need to hide
implementations of some modules from students in the simplest possible
way.
Is there a way to give them .ali, .ads, and .o files while withholding
the corresponding .adb, somehow telling gnatmake (and gnatbind) to
ignore the absence?
IIRC, if the .ali files are read-only, GNAT will not require the source of the bodies. This may not work for generics or other cases where the compilation has a dependency on the body, such as cross-unit inlining.
--
Jeff Carter
"Whatever it is, I'm against it."
Horse Feathers
46
.
- Follow-Ups:
- Re: Compilation without implementation source
- From: Simon Wright
- Re: Compilation without implementation source
- References:
- Compilation without implementation source
- From: Gene
- Compilation without implementation source
- Prev by Date: Re: New Ada portable GUI Library?
- Next by Date: Re: Compilation without implementation source
- Previous by thread: Compilation without implementation source
- Next by thread: Re: Compilation without implementation source
- Index(es):