From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1D8xn6-0003Gp-RK for mharc-grub-devel@gnu.org; Wed, 09 Mar 2005 04:47:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D8xn0-0003Fg-JB for grub-devel@gnu.org; Wed, 09 Mar 2005 04:47:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D8xmw-0003EC-4V for grub-devel@gnu.org; Wed, 09 Mar 2005 04:47:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8xmv-0003B7-E5 for grub-devel@gnu.org; Wed, 09 Mar 2005 04:47:33 -0500 Received: from [130.104.239.239] (helo=sprbodj.inma.ucl.ac.be) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D8xSs-0005gz-Cc for grub-devel@gnu.org; Wed, 09 Mar 2005 04:26:50 -0500 Received: from [130.104.239.234] (pc-babaorom.inma.ucl.ac.be [130.104.239.234]) by sprbodj.inma.ucl.ac.be (Postfix) with ESMTP id 0EB1819C81E2 for ; Wed, 9 Mar 2005 10:26:43 +0100 (CET) Message-ID: <422EC152.2060106@auto.ucl.ac.be> Date: Wed, 09 Mar 2005 10:26:42 +0100 From: Vincent Guffens User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 X-Accept-Language: en MIME-Version: 1.0 To: The development of GRUB 2 References: <4225D5CE.4050909@auto.ucl.ac.be> <200503022236.52235.okuji@enbug.org> <87is41lu26.fsf@student.han.nl> In-Reply-To: <87is41lu26.fsf@student.han.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-ucl-inma-MailScanner-Information: Please contact the ISP for more information X-ucl-inma-MailScanner: Found to be clean X-MailScanner-From: guffens@auto.ucl.ac.be Subject: Re: compiling with 2.95 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: Wed, 09 Mar 2005 09:47:41 -0000 Marco Gerards wrote: > "Yoshinori K. Okuji" writes: > > >>>Although I don't know if you are interrested in that or not, I'm >>>sending some modifications about these three items that allows grub 2 >>>to be compiled with 2.95.4 (at least on my system). >> >>Your patch is definitely useful. But I'm not sure about unnamed union... >>It is not so convenient to specify union names. I think the code was >>written by Marco, so I'd like to hear his opinion about this. > > > This weekend I will have a look at this. I had the feeling it > should've worked with gcc 2.95, but I never tried it myself. > Hopefully I can find some box with gcc 2.95... In the weekend I will > try to do some other hacking as well. I had a look in google about unnamed unions and I have seen some references about them with 2.95 but I was not able to compile with them. Maybe there is a gcc switch for them ? Also, when compiling with an "old" system, there is this sed error message: sed: -e expression #1, char 69: Extra characters after command the sed version is: $ sed -V GNU sed version 3.02 so I have also replaced in gencmdlist.sh the following line: #grep -v "^#" | sed -ne "/grub_register_command *( *\"/{s/.*( *\"\([^\"]*\)\".*/\1: $module/;p}" grep -v "^#" | grep -e "grub_register_command *( *\"" | sed -ne "s/.*grub_register_command *( *\"\([^,\"]*\).*/\1: $module/;p" -- Vincent Guffens PhD Student UCL/CESAME tel: +32 10 47 80 30 Value your freedom, or you will lose it, teaches history. "Don't bother us with politics," respond those who don't want to learn. -- Richard M. Stallman