Mail Archives: djgpp-workers/2003/01/02/13:09:55
According to andris AT hal DOT astr DOT lu DOT lv:
> I thought sometimes about using stubedit and putting support of setting
> stack size from GCC command line (Simply I needed less modifications for
> stubedit rather than for stubify). Of course possibility to use stubify
> for that is better. In this case we could provide support for something like
> -stack=1024K
> in GCC command line (one can easily specify it in LDFLAGS in Makefile)
> for next updates of DJGPP port of GCC
Does it matter what the option is named? I was thinking of "-s".
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".
Right,
MartinS
- Raw text -