Tom Moran wrote: > > I'm confused about just what you want, but perhaps it just needs a > dummy main program that 'with's every spec in the directory? ie, pipe > a dir *.ads to a file, then edit that into a set of "with xyz;" > followed by "procedure dummy is begin null;end dummy;" To clarify, according to the gnat documentation, only package bodies need to be compiled. When the body is coompiled the spec will also get coompiled; therefore if I compile the spec and then turn around and compile the body, then the first compile of the spec was a waste of time. However, if you have a package spec that has no body, then the spec needs to be compiled. I was hoping to find a simple way of giving a command that would compile bodies only except when there was only a spec. I had tought about the above solution, but I was hoping there might be a simpler solution that I can use within our build scripts. Thanks, Tony