aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prj.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2010-01-26 15:02:25 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2010-01-26 15:02:25 +0100
commitc94a0b9db5c64cf15f6b0971252069429f10e8ac (patch)
tree59c491e0f19bb78d378921368031f1c50cd5dae0 /gcc/ada/prj.ads
parent65564d08a267dbc7f56c069161b7cd44ffe84164 (diff)
downloadgcc-c94a0b9db5c64cf15f6b0971252069429f10e8ac.zip
gcc-c94a0b9db5c64cf15f6b0971252069429f10e8ac.tar.gz
gcc-c94a0b9db5c64cf15f6b0971252069429f10e8ac.tar.bz2
[multiple changes]
2010-01-26 Thomas Quinot <quinot@adacore.com> * gnat_ugn.texi: Adjust documentation of -gnatz switches. * usage.adb: Replace line for -gnatz with two lines for -gnatzc and -gnatzr. 2010-01-26 Vincent Celier <celier@adacore.com> * prj-attr.adb: Add new attribute Library_Install_Name_Option Replace attribute Run_Path_Origin_Supported with Run_Path_Origin * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process attributes Run_Path_Option and Library_Install_Name_Option. * prj.ads (Project_Configuration): Replace component Run_Path_Origin_Supported with component Run_Path_Origin. Add new component Library_Install_Name_Option. * snames.ads-tmpl: Add new standard name Library_Install_Name_Option Replace Run_Path_Origin_Supported with Run_Path_Origin 2010-01-26 Ed Schonberg <schonberg@adacore.com> * sem_ch8.adb (Use_One_Package): Within an instance, an actual package is not hidden by a homograph declared in another actual package. From-SVN: r156248
Diffstat (limited to 'gcc/ada/prj.ads')
-rw-r--r--gcc/ada/prj.ads14
1 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ada/prj.ads b/gcc/ada/prj.ads
index 2bdaa75..353138d 100644
--- a/gcc/ada/prj.ads
+++ b/gcc/ada/prj.ads
@@ -906,9 +906,14 @@ package Prj is
-- The option to use when linking to specify the path where to look for
-- libraries.
- Run_Path_Origin_Supported : Boolean := False;
- -- Specify if the run path option support $ORIGIN to indicate paths
- -- reative to the directory of the executable.
+ Run_Path_Origin : Name_Id := No_Name;
+ -- Specify the string (such as "$ORIGIN") to indicate paths relative to
+ -- the directory of the executable in the run path option.
+
+ Library_Install_Name_Option : Name_Id := No_Name;
+ -- When this is not an empty list, this option, followed by the single
+ -- name of the shared library file is used when linking a shared
+ -- library.
Separate_Run_Path_Options : Boolean := False;
-- True if each directory needs to be specified in a separate run path
@@ -1021,7 +1026,8 @@ package Prj is
Default_Project_Config : constant Project_Configuration :=
(Target => No_Name,
Run_Path_Option => No_Name_List,
- Run_Path_Origin_Supported => False,
+ Run_Path_Origin => No_Name,
+ Library_Install_Name_Option => No_Name,
Separate_Run_Path_Options => False,
Executable_Suffix => No_Name,
Linker => No_Path,