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 content-class: urn:content-classes:message Subject: RE: setup.exe command line options MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Thu, 1 Nov 2001 12:45:20 +1100 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: setup.exe command line options Thread-Index: AcFidYJxXcOFa+hfTl68Eh8BmrapYAAAPiCw From: "Robert Collins" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fA11dgP12149 > -----Original Message----- > From: Christopher Faylor [mailto:cgf AT redhat DOT com] > > > >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. > > Yes. I tested it with -mwindows -mno-cygwin. I couldn't print to the > console in that case so I ran it under the debugger. I'm only ever getting the program path, not the additional arguments... I assume I'm doing something wrong?! FWIW, I'm building on win32. Rob