Svante Signell <[email protected]> writes: > One thing, still puzzling: .adb vs .ads files, what controls which > ones does get compiled?
For units that have only a spec, the Makefile instructs gcc to compile the spec (.ads) file. For units that have both a spec and a body, the Makefile instructs gcc to compile the body (.adb) file. After gnatmake-static is compiled and linked, it rebuilds all the tools (gnatkr, gnat, gnatbind, gatchop et al) including itself. gnatmake chooses which files to recompile; you give it only the name of the main compilation unit (Ada's equivalent of the "main" procedure) and it follows the "with" clauses and looks for the corresponding files in its $ADA_INCLUDE_PATH. -- Ludovic Brenta. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]
