Hello!
Decide yourself whether to apply my patch. For egcs-1.1.2 on i686:
-O2 -Os gain
e2fs_stage1_5 8044 8076 -32
fat_stage1_5 7792 7760 +32
ffs_stage1_5 6828 6796 +32
stage2 41920 41376 +544
ChangeLog:
* configure.in: Set CFLAGS='-Os -g' unless overridden by user
Pavel Roskin
Index: configure.in
===================================================================
RCS file: /gd/gnu/anoncvsroot/grub/configure.in,v
retrieving revision 1.10
diff -u -r1.10 configure.in
--- configure.in 1999/06/24 00:01:36 1.10
+++ configure.in 1999/06/25 13:12:10
@@ -43,6 +43,11 @@
esac],[maintainermode=no])
AM_CONDITIONAL(GRUB_MAINT, test "x${maintainermode}" = xyes)
+# Use optimization for size
+if test x"$CFLAGS" = x; then
+ CFLAGS="-Os -g"
+fi
+
#
# Programs
#