summaryrefslogtreecommitdiff
path: root/gcc/ada/makeusg.adb
diff options
context:
space:
mode:
authorbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-05 21:25:25 +0000
committerbosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-05 21:25:25 +0000
commit9d40d58577b59cb2c5390f31612c49d92f00a297 (patch)
treebf3ee913b720d0e218a9deaab13f586dbb08afde /gcc/ada/makeusg.adb
parent0de49d7ea4a679b5e03d519128441278df7794ad (diff)
downloadgcc-9d40d58577b59cb2c5390f31612c49d92f00a297.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47694 138bc75d-0d04-0410-961f-82ee72b054a4
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 d06eb1fa2cc..ec219b53eb1 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;