Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 29 Jan 2003 23:48:32 -0500 (EST)
From: Glenn Fowler <gsf@research.att.com>
Message-Id: <200301300448.XAA70510@raptor.research.att.com>
Organization: AT&T Labs Research
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <E18dzmF-0002Lr-00@smtp03.mrf.mail.rcn.net> <001301c2c7e8$11fb57e0$78d96f83@pomello> <20030130011501.GB3603@redhat.com> <00b301c2c7ff$c646c5b0$78d96f83@pomello> <20030130013920.GA4679@redhat.com>
To: cygwin@cygwin.com
Subject: Re: getopt_long behavior


On Wed, 29 Jan 2003 20:39:20 -0500 Christopher Faylor wrote:
> No, it wouldn't suggest that at all.  Did you try the grep that I
> suggested?  getopt isn't exported from cygwin1.dll.  It only lives in
> libcygwin.a.

> I don't know why the original designers of cygwin decided to do things
> this way but it has been this way forever.

getopt() is probably in a .a to get the global optarg etc. variables
to link properly

-- Glenn Fowler <gsf@research.att.com> AT&T Labs Research, Florham Park NJ --


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

