Brian, Off the top of my head, the only reason I can think of why gnat should want to recompile aunit.ads is because you've passed -f (force recompilation) or -s (recompile if switches changed) to gnatmake. Is that the case?
As can be seen from the .ali file, the switches for aunit (and most other Ada packages in Debian) are -g -O2 -gnatafon -gnatVa -gnatA; please consider using the same switches in your program. If that does not solve your problem, could you please send a minimal test case that reproduces the issue? That shouldn't be too long but I am pressed for time right now. -- Ludovic Brenta. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]