This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
RE: setup.exe command line options
- To: "Robert Collins" <robert dot collins at itdomain dot com dot au>,<cygwin-developers at cygwin dot com>
- Subject: RE: setup.exe command line options
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Thu, 1 Nov 2001 12:29:08 +1100
> > -----Original Message-----
> > From: Christopher Faylor [mailto:cgf@redhat.com]
> > Sent: Thursday, November 01, 2001 11:24 AM
> > To: cygwin-developers@cygwin.com
> > Subject: Re: setup.exe command line options
> >
> >
> > On Thu, Nov 01, 2001 at 10:00:23AM +1100, Robert Collins wrote:
> > >> I'd appreciate it if the current argv code was reverted
> > ASAP. We can't
> > >> use the cygwin argv stuff in setup.exe.
> > >
> > >Why not? It's been cleanly extracted, and is (one way) GPL
> > compatible.
> >
> > Then there is also the technical reason that we don't need it since
> > __argv seems to do what we need automatically. Just
> include stdlib.h
> > and you have the parsed command line available.
Have you tested this? AFAICT the __argv is for -mconsole programs only,
with the main prolog initialising them in the msvcrt dll init... which
in setup is not happening.
Or, IOW, __argc and __argv have been meaningless on every test I've
done.
> Cool. I'll look into this and backout the change once I've got it
> working.
I can't get this working at first blush.
Chris, if you want I'll recreate argv.cc from scratch, but I really
don't see the point.