[Ada] Explain meaning of Non_Std_Executable
authorGhjuvan Lacambre <lacambre@adacore.com>
Thu, 21 Jan 2021 12:29:51 +0000 (13:29 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 6 May 2021 07:51:39 +0000 (03:51 -0400)
gcc/ada/

* make.adb (Compute_Executable): Document parameter.

gcc/ada/make.adb

index 9ddc7cc..adff94a 100644 (file)
@@ -399,7 +399,10 @@ package body Make is
       Non_Std_Executable : out Boolean);
    --  Parse the linker switches and project file to compute the name of the
    --  executable to generate.
-   --  ??? What is the meaning of Non_Std_Executable
+   --
+   --  When the platform expects a specific extension for the generated binary,
+   --  there is a chance that the linker might not use the right name for the
+   --  it. Non_Std_Executable is set to True in this case.
 
    procedure Compilation_Phase
      (Main_Source_File           : File_Name_Type;