delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-developers-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin-developers AT sources DOT redhat DOT com |
content-class: | urn:content-classes:message |
Subject: | RE: setup.exe command line options |
MIME-Version: | 1.0 |
Date: | Thu, 1 Nov 2001 12:29:08 +1100 |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.4417.0 |
Message-ID: | <EA18B9FA0FE4194AA2B4CDB91F73C0EF7A46@itdomain002.itdomain.net.au> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
Thread-Topic: | setup.exe command line options |
Thread-Index: | AcFibHkMgj3Bz5N3Txuiv6WniGYA7gABPd3gAAB47aA= |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>, |
<cygwin-developers AT cygwin DOT com> | |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id fA11LTt10725 |
> > -----Original Message----- > > From: Christopher Faylor [mailto:cgf AT redhat DOT com] > > Sent: Thursday, November 01, 2001 11:24 AM > > To: cygwin-developers AT cygwin DOT 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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |