From: Thierry Laronde <[EMAIL PROTECTED]>
Subject: Re: nbi : what kind of support do you wish ?
Date: Thu, 25 Jan 2001 09:19:43 +0100

> BTW, I'm trying to add a `getopt' function, starting with getopt.c from
> glibc (there is a comment about this need in "builtins.c", and I need it for
> `more'). Question : do we need to support GNU long options ?

For now, getopt is not necessary anyway, because the semantics of
GRUB's command interface is very simple. The functions skip_to and
grub_memcmp (or substring) suffice.

> Other question. What do you think about trying to stick as much as possible
> with a look and names of libraries conforming to standard libc, so that 
> perhaps, in the future ? compilation of stage2 or grub could be made not via 
> defines but with the option given to the compiler about the path of libraries 
> (say OS standard for grub, and ./include for stage2) ? 

That's meaningless. The purpose of the grub shell is to emulate the
native GRUB image (i.e. stage2), so using another library would make
it just harder to debug GRUB.

Okuji

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to