Example of using the verbose switch. Note how the source and object paths are affected by the -I switch.
$ prefix-gnatls -v hello GNATLS XGC 990223 Copyright 1997-1998 Free Software Foundation, Inc. Source Search Path: <Current_Directory> /opt/.../lib/gcc-lib/prefix/2.8.1/adainclude/ Object Search Path: <Current_Directory> /opt/.../lib/gcc-lib/prefix/2.8.1/adalib/ ./hello.o Unit => Name => hello Kind => subprogram body Flags => No_Elab_Code Source => hello.adb unchanged
Examples of use of the dependency list. Note the use of the -s switch which gives a straight list of source file. This can be useful for building specialized scripts.