public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-551] [Ada] Explain meaning of Non_Std_Executable
@ 2021-05-06 7:59 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-05-06 7:59 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:364ffbe34869595a975bc2e812ded6cbdd325ff7
commit r12-551-g364ffbe34869595a975bc2e812ded6cbdd325ff7
Author: Ghjuvan Lacambre <lacambre@adacore.com>
Date: Thu Jan 21 13:29:51 2021 +0100
[Ada] Explain meaning of Non_Std_Executable
gcc/ada/
* make.adb (Compute_Executable): Document parameter.
Diff:
---
gcc/ada/make.adb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb
index 9ddc7ccc636..adff94a20f8 100644
--- a/gcc/ada/make.adb
+++ b/gcc/ada/make.adb
@@ -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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-06 7:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 7:59 [gcc r12-551] [Ada] Explain meaning of Non_Std_Executable Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).