1.6.1-rc2 released for x86_64 and i686 - "Moose Drool"

Terry Chan tpchan at comcast.net
Mon Jan 15 03:18:22 CET 2007


Auke wrote:

> because we don't have a way to make a static grub (yet).

I just tried it in a regular x86 32bit env. and you can compile up a static
grub by merely changing the BUILD script to use:

  export CFLAGS="$CFLAGS -static"    &&
  export LDFLAGS="$LDFLAGS -static"  &&

and removing the unset CFLAGS a little lower in the build script.

This results in a statically linked grub binary that after stripping is
around 759616 bytes.

Terry Chan


More information about the Lunar mailing list