delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/10/20/15:00:10

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: getopt_long missing (or "More esoteric language fun: EsCo")
Date: Tue, 20 Oct 2009 11:56:06 -0700 (PDT)
Organization: http://groups.google.com
Lines: 15
Message-ID: <090b6a14-39ce-49f8-b601-ce6054405e8b@o13g2000vbl.googlegroups.com>
References: <70015ce7-3ab3-4e2e-8784-3e83f2ef3650 AT d4g2000vbm DOT googlegroups DOT com>
<200910201813 DOT n9KIDspI006759 AT envy DOT delorie DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1256064966 30127 127.0.0.1 (20 Oct 2009 18:56:06 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Tue, 20 Oct 2009 18:56:06 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: o13g2000vbl.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3)
Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

On Oct 20, 1:13=A0pm, DJ Delorie <d DOT  DOT  DOT  AT delorie DOT com> wrote:
> DJGPP's library is old; it might just be that getopt_long() wasn't
> even considered back then. =A0Feel free to add one, but keep in mind the
> licensing issues - GPL/LGPL is unacceptable in libc, BSD is OK.

Well, it's moot for EsCo since both are GPL anyways, and I at least
got it to work already. Besides, anybody requiring it in their own
programs is likely to already be aware of potential license issues.

For reference, though, a quick look shows that Popt (used by RPM) is
GPL or LGPL license, and even NetBSD (since 1.5) etc. have their own
getopt_long. I honestly doubt it would be too trivial to port to
DJGPP, but hey, it's probably possible.

- Raw text -


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