Mail Archives: djgpp/1997/10/14/04:47:46
On Mon, 13 Oct 1997, Cesar Scarpini Rabak wrote:
> Since a lot of GNU software was ported that has the long options, we are
> wondering how were the ports done (emulating the functionality on a case by
> case basis, same function with another name, etc.)
GNU packages make a point of including source for any library function
that is not provided by more-or-less standard libraries on Unix
systems. So every GNU package comes with files getopt.[ch] and
getopt1.c which support the long options functionality. If you don't
care about GPL/LGPL issue, just lift the code from a source zip of any
GNU package in v2gnu.
- Raw text -