grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Use getopt_long() instead of argp_parse() in grub-emu


From: Christian Franke
Subject: Re: [PATCH] Use getopt_long() instead of argp_parse() in grub-emu
Date: Sat, 10 Nov 2007 22:45:42 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4

Marco Gerards wrote:
Christian Franke <address@hidden> writes:

Unlike the other GRUB2 utils, grub-emu uses the glibc extension
argp_parse(). It is unavailable on Cygwin, which might also be the
case for other platforms where glibc is not the native runtime.

This has been brought up before, BSD has the same problem.  The
outcome of the discussion was (IIRC) that we will use argp.  When argp
is not available we can use gnulib or a standalone argp parser
("argp-standalone") to support this.  In that case it will mean
changing configure.ac.


Will argp_parse() be a pre-requisite for building GRUB2 or will argp-standalone be included (some other projects do) ?

If you really want argp, why is it used only for the few trivial options of grub-emu ? The other utils still use getopt_long(). grub-emu does not benefit much from argp, but introduces another portability issue.

Christian





reply via email to

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