diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-26 05:39:13 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-26 05:39:13 +0000 |
commit | c6b3cc3adc8441a0c2f4e4a9f3aefa8e3ea72c2e (patch) | |
tree | 577e951a289f0b7137b32fc75a37818187a8a0af /gcc/invoke.texi | |
parent | 0ccef7e31cdcffa8a0cba861f0300d44395d537e (diff) | |
download | gcc-c6b3cc3adc8441a0c2f4e4a9f3aefa8e3ea72c2e.tar.gz |
* protoize.c: (AUX_INFO_SUFFIX): New macro.
(aux_info_suffix): Use.
(SAVE_SUFFIX): New macro.
(save_suffix): Use.
(munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
(gen_aux_info_file): Use aux_info_suffix instead of ".X".
(edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
* invoke.texi (Running Protoize): Update documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32170 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r-- | gcc/invoke.texi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi index 7be87e29156..c2343b09b94 100644 --- a/gcc/invoke.texi +++ b/gcc/invoke.texi @@ -7525,8 +7525,9 @@ with @samp{-q}. The output from @code{protoize} or @code{unprotoize} replaces the original source file. The original file is renamed to a name ending -with @samp{.save}. If the @samp{.save} file already exists, then -the source file is simply discarded. +with @samp{.save} (for DOS, the saved filename ends in @samp{.sav} +without the original @samp{.c} suffix). If the @samp{.save} (@samp{.sav} +for DOS) file already exists, then the source file is simply discarded. @code{protoize} and @code{unprotoize} both depend on GCC itself to scan the program and collect information about the functions it uses. @@ -7559,8 +7560,8 @@ would produce the wrong kind of output. These include @samp{-g}, the @var{compilation-options}, they are ignored. @item -C -Rename files to end in @samp{.C}, or @samp{.cc} for DOS-based file -systems, instead of @samp{.c}. This is convenient if you are converting +Rename files to end in @samp{.C} (@samp{.cc} for DOS-based file +systems) instead of @samp{.c}. This is convenient if you are converting a C program to C++. This option applies only to @code{protoize}. @item -g |