delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/19/14:46:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 19 Jan 2003 14:47:45 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: linker can't find getsubopt()
Message-ID: <20030119194745.GC23961@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <988BE481ACC95C429DCB909F74A3163A05D686 AT exchange-il> <018401c2bfda$acc6a330$78d96f83 AT pomello> <20030119173218 DOT GE22838 AT redhat DOT com> <01ce01c2bfe3$9ca9f2a0$78d96f83 AT pomello>
Mime-Version: 1.0
In-Reply-To: <01ce01c2bfe3$9ca9f2a0$78d96f83@pomello>
User-Agent: Mutt/1.5.1i

On Sun, Jan 19, 2003 at 05:53:02PM -0000, Max Bowsher wrote:
>Christopher Faylor wrote:
>> On Sun, Jan 19, 2003 at 04:49:04PM -0000, Max Bowsher wrote:
>>> It appears getsubopt is in newlib, and so present in Cygwin's
>>> <sys/unistd.h>, but not exported from cygwin1.dll
>>>
>>> One of Cygwin's core developers will need to tell us whether this is
>>> accidental or on purpose.
>
>--meanmeanmean
>Content-Language: cgf_mean
>
>> Oh, it's on purpose.  Believe me.  Caused someone some discomfort?
>> Then our evil plan is succeeding.  Core developers!  Raise your
>> glasses and repeat after me "We are the core developers and we are
>> MEAN!"
>>
>> It's a well know fact that we put functions in unistd.h which are not
>> actually exported by cygwin just to tantalize and confuse people.
>> What other earthly reason would we have for dangling this tempting
>> fruit in front of people, if not to frustrate them?
>>
>> Bwahahaha.
>--meanmeanmean
>
>Attempting translation: cgf_mean -> en_gb ...
>Translation not possible!
>Gist comprehended...
>
>Will you make the necessary adjustments to cygwin.din/version.h, or should I
>submit a patch?

I don't think it is that simple.  Cygwin doesn't use the getopt that
comes with newlib.  Is there supposed to be any correspondence between
the getopt version and the getsubopt version?  Take a look at
cygwin/winsup/lib/getopt.c .

Uh, I mean.  Why should I care?  Suffer!

cgf

--
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/

- Raw text -


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