[Ada] Implement -gnateb switch
authorGhjuvan Lacambre <lacambre@adacore.com>
Thu, 12 Nov 2020 08:38:58 +0000 (09:38 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 30 Nov 2020 14:16:18 +0000 (09:16 -0500)
commita18d46a4b6cd2b3c6f6506d09a3bd547b20293bf
tree233dbccaf253b1af1fa284e358ce8124f6a2339f
parentb514643caeac517d06482a70f8fa38328601dd7a
[Ada] Implement -gnateb switch

gcc/ada/

* doc/gnat_ugn/building_executable_programs_with_gnat.rst:
Describe -gnateb switch.
* doc/gnat_ugn/the_gnat_compilation_model.rst: Mention -gnateb
switch in configuration pragma files section.
* gnat_ugn.texi: Regenerate.
* lib-writ.adb (Write_ALI): Strip directories from configuration
files path if needed.
* opt.ads: Declare Config_Files_Store_Basename option.
* par.adb (Par): Save configuration file checksum.
* switch-c.adb (Scan_Front_End_Switches): Set
Config_Files_Store_Basename true if -gnateb is present.
gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst
gcc/ada/gnat_ugn.texi
gcc/ada/lib-writ.adb
gcc/ada/opt.ads
gcc/ada/par.adb
gcc/ada/switch-c.adb