Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Fri, 31 Jan 2003 15:51:41 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: linker can't find getsubopt() Message-ID: <20030131205141.GA9738@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> <20030119194745 DOT GC23961 AT redhat DOT com> <015601c2c0c6$d6ddc170$78d96f83 AT pomello> <20030121044839 DOT GA4841 AT redhat DOT com> <017901c2c969$effcb3e0$78d96f83 AT pomello> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <017901c2c969$effcb3e0$78d96f83@pomello> User-Agent: Mutt/1.5.1i On Fri, Jan 31, 2003 at 08:47:15PM -0000, Max Bowsher wrote: >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. NP. Thanks for researching. 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/