bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] feature request: argp()


From: Simon Josefsson
Subject: [Bug-gnulib] feature request: argp()
Date: Thu, 05 Jun 2003 23:59:48 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

I think it would be nice to have a argp() implementation in gnulib.

argp() is part of libc, but not supported elsewhere, and it does
generate much better --help, --version, --usage etc than other
implementations.

A starting point for a standalone implementation (taken from lsh, but
with some bug fixes) is available in:
http://savannah.gnu.org/cgi-bin/viewcvs/gsasl/gsasl/argp/

I'm using it successfully on 20+ platforms, but it does use alloca
which caused it to fail when I tried tcc instead of gcc.  It might be
a bug in tcc, but it would be nice to have argp() work without alloca
too.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]