Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Wed, 31 Oct 2001 16:58:22 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: setup.exe command line options Message-ID: <20011031165822.C10999@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <20011031083038 DOT 86183 DOT qmail AT web9906 DOT mail DOT yahoo DOT com> <1004521251 DOT 1121 DOT 2 DOT camel AT lifelesswks> <002401c16250$cbd9f850$f35a3c3e AT Obsession> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002401c16250$cbd9f850$f35a3c3e@Obsession> User-Agent: Mutt/1.3.21i On Wed, Oct 31, 2001 at 09:12:45PM -0000, Keith Starsmeare wrote: > >----- Original Message ----- >From: "Robert Collins" >To: "Keith Starsmeare" >Cc: >Sent: Wednesday, October 31, 2001 9:40 AM >Subject: RE: setup.exe command line options > > >> On Wed, 2001-10-31 at 19:30, Keith Starsmeare wrote: >> > The arguments are passed in as one string, can I use getopt to process a >> > string; I imagined I that getopt worked with an array of strings i.e. >char >> > *argv[]? >> >> Fixed. I realised this just after mailing my comment :}. Update your CVS >> repository. > >Excellent. Thanks. I'd appreciate it if the current argv code was reverted ASAP. We can't use the cygwin argv stuff in setup.exe. I notice that mingw has something called __argv. I wonder if that contains what I think it does. MSVC also has some sort of argv parser. I thought that it might be in msvcrt.dll but I don't know for sure. cgf