From: Message-Id: <200301021809.h02I9mG22840@speedy.ludd.luth.se> Subject: Re: stubify In-Reply-To: "from andris AT hal DOT astr DOT lu DOT lv at Jan 2, 2003 07:50:32 am" To: djgpp-workers AT delorie DOT com Date: Thu, 2 Jan 2003 19:09:48 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL78 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-MailScanner: Found to be clean X-MailScanner-SpamScore: s Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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 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