aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/makeusg.adb
diff options
context:
space:
mode:
authorVincent Celier <celier@gnat.com>2001-12-05 21:25:25 +0000
committerGeert Bosch <bosch@gcc.gnu.org>2001-12-05 22:25:25 +0100
commit7ffa903fe945d67e050d499021445212a4a27dc8 (patch)
treebf3ee913b720d0e218a9deaab13f586dbb08afde /gcc/ada/makeusg.adb
parent578316b9485225adecf7f258287fed2fe4474e6b (diff)
downloadgcc-7ffa903fe945d67e050d499021445212a4a27dc8.zip
gcc-7ffa903fe945d67e050d499021445212a4a27dc8.tar.gz
gcc-7ffa903fe945d67e050d499021445212a4a27dc8.tar.bz2
gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY, -c /COMPILE_ONLY, -l /LINK_ONLY
* gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY, -c /COMPILE_ONLY, -l /LINK_ONLY * opt.ads: (Bind_Only): New Flag (Link_Only): New flag * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only) and -l (Link_Only) * makeusg.adb: Add new switches -b and -l. Update Copyright notice. * make.adb: (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags. (Gnatmake): Set the step flags. Only perform a step if the corresponding step flag is True. (Scan_Make_Arg): Reset the bind and link step flags when -u or -gnatc has been specified. From-SVN: r47694
Diffstat (limited to 'gcc/ada/makeusg.adb')
-rw-r--r--gcc/ada/makeusg.adb18
1 files changed, 15 insertions, 3 deletions
diff --git a/gcc/ada/makeusg.adb b/gcc/ada/makeusg.adb
index d06eb1f..ec219b5 100644
--- a/gcc/ada/makeusg.adb
+++ b/gcc/ada/makeusg.adb
@@ -6,9 +6,9 @@
-- --
-- B o d y --
-- --
--- $Revision: 1.14 $
+-- $Revision$
-- --
--- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -68,10 +68,16 @@ begin
Write_Str ("a Consider all files, even readonly ali files");
Write_Eol;
+ -- Line for -b
+
+ Write_Switch_Char;
+ Write_Str ("b Bind only");
+ Write_Eol;
+
-- Line for -c
Write_Switch_Char;
- Write_Str ("c Compile only, do not bind and link");
+ Write_Str ("c Compile only");
Write_Eol;
-- Line for -f
@@ -99,6 +105,12 @@ begin
Write_Str ("k Keep going after compilation errors");
Write_Eol;
+ -- Line for -l
+
+ Write_Switch_Char;
+ Write_Str ("l Link only");
+ Write_Eol;
+
-- Line for -m
Write_Switch_Char;