Message-ID: <3F2BE19E.7020907@pl.jaring.my> Date: Sun, 03 Aug 2003 00:06:54 +0800 From: "K. H. Man" User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: argument parsing compatibility between DOS and Unix References: <3f2a9324$0$163$cc7c7865 AT news DOT luth DOT se> In-Reply-To: <3f2a9324$0$163$cc7c7865@news.luth.se> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hi, Martin Str|mberg wrote: > Jim Showalter wrote: > : Is argp(), getopts_long() or _any_ of the GNU library > I've not heard of argp(). DJGPP's libc does have getopt() but not any > function for long options. [snipped] util-linux-2.11 has inside it a very portable getopt() function for long options. I've successfully used it for compiling nano-1.2.1. It's GPL, written by Frodo Looijaard, lsm says primary site is at: http://huizen.dds.nl/~frodol (but I got it from util-linux-2.11). If you need something non-GPL, say LGPL, you'll have to look elsewhere... HTH -- Cheers, Kein-Hong Man (esq.) Kuala Lumpur, Malaysia