Re: How are system parameters entered into s-taprop.adb?
Svante Signell <svante.signell@telia.com> 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.
Reply to: