From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DFBmE-0007hB-Gq for mharc-grub-devel@gnu.org; Sat, 26 Mar 2005 08:56:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DFBm3-0007am-BK for grub-devel@gnu.org; Sat, 26 Mar 2005 08:56:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DFBlu-0007XQ-Ub for grub-devel@gnu.org; Sat, 26 Mar 2005 08:56:16 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DFBlu-0007Ws-NT for grub-devel@gnu.org; Sat, 26 Mar 2005 08:56:14 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DFBWF-0000VM-7t for grub-devel@gnu.org; Sat, 26 Mar 2005 08:40:03 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id BF95A949D for ; Sat, 26 Mar 2005 14:40:02 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 04059-07 for ; Sat, 26 Mar 2005 14:40:01 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id E1AF693A0 for ; Sat, 26 Mar 2005 14:40:01 +0100 (CET) Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 98692C045 for ; Sat, 26 Mar 2005 14:40:01 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <74cfc9a471d7669b38b24a5a89f35538@free.fr> <200503232145.04398.okuji@enbug.org> <1111616923.4241ed9b706fe@imp5-q.free.fr> <200503260122.10488.okuji@enbug.org> From: Marco Gerards Date: Sat, 26 Mar 2005 14:40:04 +0100 In-Reply-To: <200503260122.10488.okuji@enbug.org> (Yoshinori K. Okuji's message of "Sat, 26 Mar 2005 01:22:10 +0100") Message-ID: <87is3er0ej.fsf@student.han.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: Grub2 on Mac OS X X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 13:56:27 -0000 "Yoshinori K. Okuji" writes: >> I found another glibc specific function : alloca. Used in cmain in >> boot/powerpc/ieee1275/cmain.c. I repace it by declaring argv as an array of >> 64 elements : char *arg[64] (should be enouth ?). As the variables are >> allocated in the stack just like alloca do it should work just the same. > > This kind of functions should be complemented by a library. Look at Gnulib: > > http://www.gnu.org/software/gnulib/ > > I think Gnulib contains argp as well. It does and I would prefer using argp from gnulib. Thanks, Marco