delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/20/12:35:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Tue, 20 Sep 2011 12:34:43 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: argp?
Message-ID: <20110920163443.GA19467@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <f1vd77tap2lrk82fgu5ke7q6pnavlcfpmu AT 4ax DOT com>
MIME-Version: 1.0
In-Reply-To: <f1vd77tap2lrk82fgu5ke7q6pnavlcfpmu@4ax.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Mon, Sep 19, 2011 at 04:43:45AM -0400, Andrew Schulman wrote:
>I'd like to use argp[1] in a Cygwin program, but I see that it's not
>implemented in Cygwin.  The catgets and cpio packages have apparently
>imported it statically into their source, and advice on the net is to
>import their implementations.
>
>Is there a particular reason that argp isn't available in Cygwin, or has it
>just never been important enough for someone to bring it in?  Would people
>be receptive to having it available as a separate package, say libargp?
>
>[1] http://www.gnu.org/s/hello/manual/libc/Argp.html

Looks like this would have to be implemented from scratch since LGPLed code
is not allowed in Cygwin.  The argp implementation in newlib apparently is
just a copy of the glibc code.

I was going to just pull in any *bsd version of this that I could find but
I don't see a non LGPLed version in freebsd, netbsd, or openbsd.

So:  PTC.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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