Example of using the verbose switch. Note how the source and object paths are affected by the -I switch.
$ erc-coff-gnatls -v hello GNATLS XGC 990223 Copyright 1997-1998 Free Software Foundation, Inc. Source Search Path: <Current_Directory> /opt/xgc/lib/gcc-lib/erc-coff/2.8.1/adainclude/ Object Search Path: <Current_Directory> /opt/xgc/lib/gcc-lib/erc-coff/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.
$ erc-coff-gnatls -d hello
./hello.o hello
OK hello.adb
OK io.ads
$ erc-coff-gnatls -d -s -a hello
hello.adb
io.ads
/opt/xgc/lib/gcc-lib/erc-coff/2.8.1/adainclude/system.ads
/opt/xgc/lib/gcc-lib/erc-coff/2.8.1/adainclude/s-unstyp.ads