]> git.ipfire.org Git - thirdparty/gcc.git/commit
gnatcmd.adb (Process_Link): Use Osint.Executable_Name instead of handling executable...
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 31 Oct 2006 17:59:45 +0000 (18:59 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 31 Oct 2006 17:59:45 +0000 (18:59 +0100)
commit64c69860aa9a0a0fda1017d597f6fa5db5ba9e4e
tree325aebf90d3f552916c4782ec974ee0fa609808e
parent5b8b9057447820207979224e4aa151b2a6d19d00
gnatcmd.adb (Process_Link): Use Osint.Executable_Name instead of handling executable extension manually and...

2006-10-31  Arnaud Charlet  <charlet@adacore.com>
    Robert Dewar  <dewar@adacore.com>

* gnatcmd.adb (Process_Link): Use Osint.Executable_Name instead of
handling executable extension manually and duplicating code.

* make.adb: Implement new -S switch
(Gnatmake): Use new function Osint.Executable_Name instead
of handling executable extension manually.

* prj-util.adb (Executable_Of): Make sure that if an Executable_Suffix
is specified, the executable name ends with this suffix.
Take advantage of Osint.Executable_Name instead of duplicating code.

* switch-m.adb: Recognize new gnatmake -S switch

* targparm.ads, targparm.adb (Executable_Extension_On_Target): New
variable.
(Get_Target_Parameters): Set Executable_Extension_On_Target if
available.

* makeusg.adb: Add line for gnatmake -S switch

From-SVN: r118276
gcc/ada/gnatcmd.adb
gcc/ada/make.adb
gcc/ada/makeusg.adb
gcc/ada/prj-util.adb
gcc/ada/switch-m.adb
gcc/ada/targparm.adb
gcc/ada/targparm.ads