This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r118276 - in /trunk/gcc/ada: gnatcmd.adb make.a...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 31 Oct 2006 17:59:46 -0000
- Subject: r118276 - in /trunk/gcc/ada: gnatcmd.adb make.a...
Author: charlet
Date: Tue Oct 31 17:59:45 2006
New Revision: 118276
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118276
Log:
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
Modified:
trunk/gcc/ada/gnatcmd.adb
trunk/gcc/ada/make.adb
trunk/gcc/ada/makeusg.adb
trunk/gcc/ada/prj-util.adb
trunk/gcc/ada/switch-m.adb
trunk/gcc/ada/targparm.adb
trunk/gcc/ada/targparm.ads