-- --
-- B o d y --
-- --
--- --
--- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2008, 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- --
--- ware Foundation; either version 2, or (at your option) any later ver- --
+-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
--- Public License distributed with GNAT; see file COPYING. If not, write --
--- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
--- MA 02111-1307, USA. --
+-- Public License distributed with GNAT; see file COPYING3. If not, go to --
+-- http://www.gnu.org/licenses for a complete copy of the license. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
--- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
+-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
Write_Str (" -b Bind only");
Write_Eol;
+ -- Line for -B
+
+ Write_Str (" -B Build, bind and link full project");
+ Write_Eol;
+
-- Line for -c
Write_Str (" -c Compile only");
-- Line for -C
Write_Str (" -C Cache source mappings: " &
- "invoke the compiler with a mapping file");
+ "invoke compiler with temp mapping file");
+ Write_Eol;
+
+ -- Line for -C=<mapping file>
+
+ Write_Str (" -C=mapp Cache source mappings: " &
+ "invoke compiler with mapping file mapp");
+ Write_Eol;
+
+ -- Line for -D
+
+ Write_Str (" -D dir Specify dir as the object directory");
+ Write_Eol;
+
+ -- Line for -eI
+
+ Write_Str (" -eI Index of unit in multi-unit source file");
+ Write_Eol;
+
+ -- Line for -eL
+
+ Write_Str (" -eL Follow symbolic links when processing " &
+ "project files");
+ Write_Eol;
+
+ -- Line for -eS
+
+ Write_Str (" -eS Echo commands to stdout instead of stderr");
Write_Eol;
-- Line for -f
Write_Str (" -f Force recompilations of non predefined units");
Write_Eol;
+ -- Line for -F
+
+ Write_Str (" -F Full project path name in brief error messages");
+ Write_Eol;
+
-- Line for -i
Write_Str (" -i In place. Replace existing ali file, ");
Write_Str (" -o name Choose an alternate executable name");
Write_Eol;
+ -- Line for -p
+
+ Write_Str (" -p Create missing obj, lib and exec dirs");
+ Write_Eol;
+
-- Line for -P
Write_Str (" -Pproj Use GNAT Project File proj");
Write_Str (" -q Be quiet/terse");
Write_Eol;
+ -- Line for -R
+
+ Write_Str (" -R Do not use a run_path_option when linking");
+ Write_Eol;
+
-- Line for -s
Write_Str (" -s Recompile if compiler switches have changed");
-- Line for -u
- Write_Str (" -u Unique compilation. Only compile the given file.");
+ Write_Str (" -u Unique compilation, only compile the given files");
+ Write_Eol;
+
+ -- Line for -U
+
+ Write_Str (" -U Unique compilation for all sources of all projects");
Write_Eol;
-- Line for -v
Write_Str (" -vPx Specify verbosity when parsing GNAT Project Files");
Write_Eol;
+ -- Line for -we
+
+ Write_Str (" -we Treat all warnings as errors");
+ Write_Eol;
+
+ -- Line for -wn
+
+ Write_Str (" -wn Normal warning mode (cancels -we/-ws)");
+ Write_Eol;
+
+ -- Line for -ws
+
+ Write_Str (" -ws Suppress all warnings");
+ Write_Eol;
+
+ -- Line for -x
+
+ Write_Str (" -x " &
+ "Allow compilation of needed units external to the projects");
+ Write_Eol;
+
-- Line for -X
Write_Str (" -Xnm=val Specify an external reference for GNAT " &
-- Source and Library search path switches
- Write_Str ("Source and Library search path switches:");
+ Write_Str ("Project, Source and Library search path switches:");
+ Write_Eol;
+
+ -- Line for -aP
+
+ Write_Str (" -aPdir Add directory dir to project search path");
Write_Eol;
-- Line for -aL
Write_Str (" --RTS=dir specify the default source and object search"
& " path");
Write_Eol;
+
+ -- Line for --subdirs=
+
+ Write_Str (" --subdirs=dir real obj/lib/exec dirs are subdirs");
+ Write_Eol;
Write_Eol;
-- General Compiler, Binder, Linker switches