delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/11/18/17:34:24

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <028701c17081$2a788c80$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Jonathan Kamens" <jik AT curl DOT com>, <cygwin-apps AT cygwin DOT com>
References: <20011118214055 DOT 22769 DOT qmail AT lizard DOT curl DOT com>
Subject: Re: How does setup.exe figure out what to install by default?
Date: Mon, 19 Nov 2001 09:34:19 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 18 Nov 2001 22:34:20.0205 (UTC) FILETIME=[2A12C5D0:01C17081]

----- Original Message -----
From: "Jonathan Kamens" <jik AT curl DOT com>
To: <cygwin-apps AT cygwin DOT com>
Sent: Monday, November 19, 2001 8:40 AM
Subject: How does setup.exe figure out what to install by default?


> I'm trying to figure out how setup.exe decides which packages should
> be installed by default.  My best guess was that "Base" categories are
> installed by default, but I couldn't find any evidence of that in the
> source code in winsup/cinstall (I looked at every instance of the word
> "base", and unless I missed it, none of them were the one that would
> key this functionality).  I found code which seems to suggest that
> "Required" or "Misc" packages are installed by default, but I don't
> see anything designated "Required" or "Misc" in setup.ini, so I don't
> know how those bits would get set on a package (and I suspect that's a
> red herring because I'm not understanding it properly anyway).
>
> Somebody wanna give me a hint? :-)

You are looking at old source code?

$ grep -n "Base" *
choose.cc:590:      && !(getpackagecategorybyname (pkg, "Base")

> Is there some Windows magic that I'm missing here?

we use the argv, argc generated by msvcrt for us.

Rob

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019