Commit 9d530538 by Mark Mitchell Committed by Mark Mitchell

invoke.texi: For man pages, include gcc-vers.texi.

	* doc/invoke.texi: For man pages, include gcc-vers.texi.
	List @file in the option summary.  Include the libiberty
	documentation for @file.
	* gcc.c (main): Call expandargv.
	* Makefile.in (gcc-vers.texi): Define srcdir.

From-SVN: r107426
parent dd97d271
2005-11-23 Mark Mitchell <mark@codesourcery.com>
* doc/invoke.texi: For man pages, include gcc-vers.texi.
List @file in the option summary. Include the libiberty
documentation for @file.
* gcc.c (main): Call expandargv.
* Makefile.in (gcc-vers.texi): Define srcdir.
2005-11-23 Diego Novillo <dnovillo@redhat.com> 2005-11-23 Diego Novillo <dnovillo@redhat.com>
* passes.c (init_optimization_passes): Document * passes.c (init_optimization_passes): Document
......
...@@ -3320,6 +3320,7 @@ gcc-vers.texi: $(BASEVER) $(DEVPHASE) ...@@ -3320,6 +3320,7 @@ gcc-vers.texi: $(BASEVER) $(DEVPHASE)
then echo "@set DEVELOPMENT"; \ then echo "@set DEVELOPMENT"; \
else echo "@clear DEVELOPMENT"; \ else echo "@clear DEVELOPMENT"; \
fi) > $@T fi) > $@T
echo "@set srcdir $(srcdir)" >> $@T
mv -f $@T $@ mv -f $@T $@
......
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
@c For copying conditions, see the file gcc.texi. @c For copying conditions, see the file gcc.texi.
@ignore @ignore
@c man begin INCLUDE
@include gcc-vers.texi
@c man end
@c man begin COPYRIGHT @c man begin COPYRIGHT
Copyright @copyright{} 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, Copyright @copyright{} 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
...@@ -36,7 +40,7 @@ gcc [@option{-c}|@option{-S}|@option{-E}] [@option{-std=}@var{standard}] ...@@ -36,7 +40,7 @@ gcc [@option{-c}|@option{-S}|@option{-E}] [@option{-std=}@var{standard}]
[@option{-I}@var{dir}@dots{}] [@option{-L}@var{dir}@dots{}] [@option{-I}@var{dir}@dots{}] [@option{-L}@var{dir}@dots{}]
[@option{-D}@var{macro}[=@var{defn}]@dots{}] [@option{-U}@var{macro}] [@option{-D}@var{macro}[=@var{defn}]@dots{}] [@option{-U}@var{macro}]
[@option{-f}@var{option}@dots{}] [@option{-m}@var{machine-option}@dots{}] [@option{-f}@var{option}@dots{}] [@option{-m}@var{machine-option}@dots{}]
[@option{-o} @var{outfile}] @var{infile}@dots{} [@option{-o} @var{outfile}] [@@@var{file}] @var{infile}@dots{}
Only the most useful options are listed here; see below for the Only the most useful options are listed here; see below for the
remainder. @samp{g++} accepts mostly the same options as @samp{gcc}. remainder. @samp{g++} accepts mostly the same options as @samp{gcc}.
...@@ -156,7 +160,7 @@ in the following sections. ...@@ -156,7 +160,7 @@ in the following sections.
@item Overall Options @item Overall Options
@xref{Overall Options,,Options Controlling the Kind of Output}. @xref{Overall Options,,Options Controlling the Kind of Output}.
@gccoptlist{-c -S -E -o @var{file} -combine -pipe -pass-exit-codes @gol @gccoptlist{-c -S -E -o @var{file} -combine -pipe -pass-exit-codes @gol
-x @var{language} -v -### --help --target-help --version} -x @var{language} -v -### --help --target-help --version @@@var{file}}
@item C Language Options @item C Language Options
@xref{C Dialect Options,,Options Controlling C Dialect}. @xref{C Dialect Options,,Options Controlling C Dialect}.
...@@ -1049,6 +1053,8 @@ line options for each tool. ...@@ -1049,6 +1053,8 @@ line options for each tool.
@item --version @item --version
@opindex version @opindex version
Display the version number and copyrights of the invoked GCC@. Display the version number and copyrights of the invoked GCC@.
@include @value{srcdir}/../libiberty/at-file.texi
@end table @end table
@node Invoking G++ @node Invoking G++
......
...@@ -6032,6 +6032,8 @@ main (int argc, const char **argv) ...@@ -6032,6 +6032,8 @@ main (int argc, const char **argv)
xmalloc_set_program_name (programname); xmalloc_set_program_name (programname);
expandargv (&argc, &argv);
#ifdef GCC_DRIVER_HOST_INITIALIZATION #ifdef GCC_DRIVER_HOST_INITIALIZATION
/* Perform host dependent initialization when needed. */ /* Perform host dependent initialization when needed. */
GCC_DRIVER_HOST_INITIALIZATION; GCC_DRIVER_HOST_INITIALIZATION;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment