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

Auke Kok sofar at foo-projects.org
Mon Jan 15 03:29:37 CET 2007


Terry Chan wrote:
> 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.

of course, there's no way to do this on a x86_64 box that does not have multilib support!

Auke


More information about the Lunar mailing list