Mail Archives: djgpp/1998/01/29/08:15:34
I'm guessing you want to disable the wildcard expansion part of DJGPP.
If I remember correctly (and I only discovered this recently), you can
disable this feature by declaring an empty function instead of using the
default __crt0_something_something(); function (check libc.inf). This
will reduce a little bit of the startup code, and therefore probably
shrink your executable a tad.
--
http://www.geocities.com/SiliconValley/Peaks/6079/djgpp.htm
Ian Perez wrote:
>
> Ok, when I use the following program :
>
> #include <stdio.h>
>
> int main(int argc, char *argv[])
> {
> printf("%s", argv[1]);
> }
>
> When I use wildcards in the first argument, argv[1] becomes the first
> file matching that criteria. Is there any way to stop it from doing
> that?? I just want the exact string typed to be in argv[1].
>
> Ian Perez (fish AT discover DOT net) http://www.discover.net/~fish
- Raw text -