Mail Archives: djgpp-workers/2003/01/02/13:44:15
Hello.
ams AT ludd DOT luth DOT se wrote:
[snip]
> By the way there's another bug!:
>
> int main(int argc, char **argv)
> {
> int i;
> if (argc > 1 && strcmp(argv[1], "-v")==0)
> {
> verbose = 1;
> argv++;
> argc--;
> }
> v_printf("stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie\n");
> if (argc < 2)
> {
> fprintf(stderr, "Usage: stubify [-g] <program> (program may be COFF or stubbed .exe,\n");
> fprintf(stderr, " and may be COFF with .exe extension. Resulting file will have .exe)\n");
>
> Note the option in the help text is "-g" and the option we test for is
> "-v".
-g is the option for generating a stub, which you can stubedit to call another
program. E.g.:
stubedit -g d.exe
stubedit d.exe runfile=dir
See gnu/filutil4.1/djgpp/mkgvers.sh from the fileutils 4.1 for lots of
examples.
So the help message should be updated to describe -v.
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -