This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linker can't find getsubopt()


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]