1.6.1-rc2 released for x86_64 and i686 - "Moose Drool"
Terry Chan
tpchan at comcast.net
Mon Jan 15 05:16:30 CET 2007
On Sun, Jan 14, 2007 at 06:29:37PM -0800, Auke Kok wrote:
> 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
And yes, its called a STATICALLy linked binary for a reason. Notice I said on
an x86 32bit env. So you create your statically linked grub tarball on a 32 bit
lunar box and move the tarball over to your x86_64 box for inclusion in your iso.
You include some source tarballs and some pre-compiled tarballs on the iso, so
one more won't hurt too much....
Terry
More information about the Lunar
mailing list