aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/opt.ads
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/opt.ads
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/opt.ads')
-rw-r--r--gcc/ada/opt.ads12
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ada/opt.ads b/gcc/ada/opt.ads
index daf02b8..9ed3579 100644
--- a/gcc/ada/opt.ads
+++ b/gcc/ada/opt.ads
@@ -143,6 +143,11 @@ package Opt is
-- Set to True if the binder needs to generate a file designed for
-- building a library. May be set to True by Gnatbind.Scan_Bind_Arg.
+ Bind_Only : Boolean := False;
+ -- GNATMAKE
+ -- Set to True to skip compile and link steps
+ -- (except when Compile_Only and/or Link_Only are True).
+
Brief_Output : Boolean := False;
-- GNAT, GNATBIND
-- Force brief error messages to standard error, even if verbose mode is
@@ -188,7 +193,7 @@ package Opt is
Compile_Only : Boolean := False;
-- GNATMAKE
- -- Set to True to skip bind and link step.
+ -- Set to True to skip bind and link steps (except when Bind_Only is True)
Compress_Debug_Names : Boolean := False;
-- GNATMAKE
@@ -428,6 +433,11 @@ package Opt is
-- When True signals gnatmake to ignore compilation errors and keep
-- processing sources until there is no more work.
+ Link_Only : Boolean := False;
+ -- GNATMAKE
+ -- Set to True to skip compile and bind steps
+ -- (except when Bind_Only is set to True).
+
List_Units : Boolean := False;
-- GNAT
-- List units in the active library