set -e; gcc-3.4 -Ikern -I./kern -I. -Iinclude -I./include -Wall -W -g -Wall -O2 -DGRUB_UTIL=1 -ffreestanding -msoft-float -M kern/dl.c | sed 's,dl\.o[ :]*,grubof-kern_dl.o grubof-kern_dl.d : ,g' > grubof-kern_dl.d; [ -s grubof-kern_dl.d ] || rm -f grubof-kern_dl.d
But eventually it doesn't:
gcc -Icommands -I./commands -I. -Iinclude -I./include -Wall -W -DGRUB_DATADIR=\"/usr/share/grub/powerpc-ieee1275\" -g -O2 -DGRUB_UTIL=1 -c -o grub_emu-commands_ls.o commands/ls.c
commands/ls.c: In function ‘grub_ls_list_files’:
commands/ls.c:107: erreur: invalid storage class for function ‘print_files’
commands/ls.c:115: erreur: invalid storage class for function ‘print_files_long’commands/ls.c: In function ‘grub_cmd_ls’:
commands/ls.c:223: erreur: invalid storage class for function ‘grub_ls_print_files’
make[1]: *** [grub_emu-commands_ls.o] Erreur 1
(I'm doing this because grub fails to build with gcc-4. It appears to be trying to use nested functions or something in some way that gcc-4 doesn't like.)
From looking at the Makefile, it looks like it's using BUILD_CC instead of CC (which is set correctly). I don't speak Ruby, so I can't go any further than that.
Tks,
Jeff Bailey
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Bug-grub mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-grub
