delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/31/15:47:28

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
Message-ID: <017901c2c969$effcb3e0$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
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> <20030119194745 DOT GC23961 AT redhat DOT com> <015601c2c0c6$d6ddc170$78d96f83 AT pomello> <20030121044839 DOT GA4841 AT redhat DOT com>
Subject: Re: linker can't find getsubopt()
Date: Fri, 31 Jan 2003 20:47:15 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Christopher Faylor wrote:
> On Mon, Jan 20, 2003 at 08:59:35PM -0000, Max Bowsher wrote:
>> Christopher Faylor wrote:
>>> I don't think it is that simple.  Cygwin doesn't use the getopt that
>>> comes with newlib.
>>
>> Ah. Just because I'm curious, why?
>>
>>> Is there supposed to be any correspondence between
>>> the getopt version and the getsubopt version?
>>
>> I've just looked at newlib's getsubopt.c. It is completely
>> independent of getopt, and in fact, has only been in newlib since
>> 1.11.0.
>> So, unless I've overlooked something, it *is* just a matter of
>> cygwin.din/version.h.
>
> Ok, then.  Thanks for checking.  Getting ready to gratefully accept a
> patch.

Just got round to looking at doing this. It uses a variable in the library,
extern'ed in the application, like getopt's optarg - i.e. problem.

Since I'm not directly interested in this function, I'm not going to take
this further. Just wanted the archives to have all the info.


Max.


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