This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

Re: Patch: Document dlltool --temp-prefix option


On Tue, Nov 25, 2003 at 11:47:42AM +1100, Danny Smith wrote:
>Hello,
>
>The attached patch adds missing documentation for the dlltool option
>--temp-prefix. (I have attached rather than inlined the patch to avoid
>wrapping of long lines.)
>
>ChangeLog
>
>2003-11-24  Danny Smith  <dannysmith@users.sourceforge.net>
>
>	* doc/binutils.texi: Document dlltool --temp-prefix option.
>	* dlltool.c (usage): Likewise.

Thanks for documenting this.  I should have done so myself when I checked in
this option but... I forgot.

Please check it in.

cgf

>Index: dlltool.c
>===================================================================
>RCS file: /cvs/src/src/binutils/dlltool.c,v
>retrieving revision 1.45
>diff -c -3 -p -r1.45 dlltool.c
>*** dlltool.c	27 Oct 2003 13:20:32 -0000	1.45
>--- dlltool.c	24 Nov 2003 22:09:03 -0000
>*************** usage (FILE *file, int status)
>*** 3131,3136 ****
>--- 3131,3137 ----
>    fprintf (file, _("   -f --as-flags <flags>     Pass <flags> to the assembler.\n"));
>    fprintf (file, _("   -C --compat-implib        Create backward compatible import library.\n"));
>    fprintf (file, _("   -n --no-delete            Keep temp files (repeat for extra preservation).\n"));
>+   fprintf (file, _("   -t --temp-prefix <prefix> Use <prefix> to construct temp file names.\n"));
>    fprintf (file, _("   -v --verbose              Be verbose.\n"));
>    fprintf (file, _("   -V --version              Display the program version.\n"));
>    fprintf (file, _("   -h --help                 Display this information.\n"));
>Index: doc/binutils.texi
>===================================================================
>RCS file: /cvs/src/src/binutils/doc/binutils.texi,v
>retrieving revision 1.49
>diff -c -3 -p -r1.49 binutils.texi
>*** doc/binutils.texi	23 Nov 2003 01:10:45 -0000	1.49
>--- doc/binutils.texi	24 Nov 2003 22:09:25 -0000
>*************** dlltool [@option{-d}|@option{--input-def
>*** 2846,2852 ****
>          [@option{-a}|@option{--add-indirect}] [@option{-U}|@option{--add-underscore}] [@option{-k}|@option{--kill-at}]
>          [@option{-A}|@option{--add-stdcall-alias}]
>          [@option{-x}|@option{--no-idata4}] [@option{-c}|@option{--no-idata5}] [@option{-i}|@option{--interwork}]
>!         [@option{-n}|@option{--nodelete}] [@option{-v}|@option{--verbose}] 
>          [@option{-h}|@option{--help}] [@option{-V}|@option{--version}]
>          [object-file @dots{}]
>  @c man end
>--- 2846,2853 ----
>          [@option{-a}|@option{--add-indirect}] [@option{-U}|@option{--add-underscore}] [@option{-k}|@option{--kill-at}]
>          [@option{-A}|@option{--add-stdcall-alias}]
>          [@option{-x}|@option{--no-idata4}] [@option{-c}|@option{--no-idata5}] [@option{-i}|@option{--interwork}]
>!         [@option{-n}|@option{--nodelete}] [@option{-t}|@option{--temp-prefix} @var{prefix}]
>!         [@option{-v}|@option{--verbose}] 
>          [@option{-h}|@option{--help}] [@option{-V}|@option{--version}]
>          [object-file @dots{}]
>  @c man end
>*************** between ARM and Thumb code.
>*** 3056,3062 ****
>  Makes @command{dlltool} preserve the temporary assembler files it used to
>  create the exports file.  If this option is repeated then dlltool will
>  also preserve the temporary object files it uses to create the library
>! file. 
>  
>  @item -v
>  @itemx --verbose
>--- 3057,3069 ----
>  Makes @command{dlltool} preserve the temporary assembler files it used to
>  create the exports file.  If this option is repeated then dlltool will
>  also preserve the temporary object files it uses to create the library
>! file.
>! 
>! @item -t @var{prefix}
>! @itemx --temp-prefix @var{prefix}
>! Makes @command{dlltool} use @var{prefix} when constructing the names of
>! temporary assembler and object files.  By default, the temp file prefix
>! is generated from the pid.  
>  
>  @item -v
>  @itemx --verbose


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