Marco Gerards wrote:
"Yoshinori K. Okuji" <[EMAIL PROTECTED]> 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
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel