This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[cpplib doc patch] Do not create filenames beginning with a -


The current manual, depending on the options passed to makeinfo, creates
a file named "-MF.html" and we can all see where that leads.  This renames
the reference while preserving the visible output text.  Suggestions
welcome for a better name than dashMF.


2003-09-28  Phil Edwards  <phil@codesourcery.com>

	* doc/cppopts.texi:  Use 'dashMP' instead of '-MP' as a cross-
	reference name.


Index: doc/cppopts.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/cppopts.texi,v
retrieving revision 1.26
diff -u -p -c -r1.26 cppopts.texi
cvs server: conflicting specifications of output style
*** doc/cppopts.texi	5 Aug 2003 21:15:57 -0000	1.26
--- doc/cppopts.texi	29 Sep 2003 02:30:36 -0000
*************** This implies that the choice of angle br
*** 223,231 ****
  header will appear in @option{-MM} dependency output.  This is a
  slight change in semantics from GCC versions 3.0 and earlier.
  
  @item -MF @var{file}
  @opindex MF
- @anchor{-MF}
  When used with @option{-M} or @option{-MM}, specifies a
  file to write the dependencies to.  If no @option{-MF} switch is given
  the preprocessor sends the rules to the same place it would have sent
--- 223,231 ----
  header will appear in @option{-MM} dependency output.  This is a
  slight change in semantics from GCC versions 3.0 and earlier.
  
+ @anchor{dashMF}
  @item -MF @var{file}
  @opindex MF
  When used with @option{-M} or @option{-MM}, specifies a
  file to write the dependencies to.  If no @option{-MF} switch is given
  the preprocessor sends the rules to the same place it would have sent
*************** basename of the input file and applies a
*** 302,308 ****
  
  If @option{-MD} is used in conjunction with @option{-E}, any
  @option{-o} switch is understood to specify the dependency output file
! (but @pxref{-MF}), but if used without @option{-E}, each @option{-o}
  is understood to specify a target object file.
  
  Since @option{-E} is not implied, @option{-MD} can be used to generate
--- 302,308 ----
  
  If @option{-MD} is used in conjunction with @option{-E}, any
  @option{-o} switch is understood to specify the dependency output file
! (but @pxref{dashMF,,-MF}), but if used without @option{-E}, each @option{-o}
  is understood to specify a target object file.
  
  Since @option{-E} is not implied, @option{-MD} can be used to generate



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]