From: Anthony Williams Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP!! Date: 29 Jan 1998 13:10:13 GMT Lines: 25 Message-ID: <6apv3l$e01$0@198.79.30.57> References: <34D01E03 DOT 5060 AT discover DOT net> Reply-To: anthonyw AT dibbs DOT net NNTP-Posting-Host: 198.79.30.57 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: fish AT discover DOT net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 > > 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