-={ mercredi, janvier 07 2015, 19:21:40 -0800 }=-
Hey mark!
I got brave and it worked. :-)
Used grub-2.02~beta2 source with both CFLAGS and CXXFLAGS unset in the build
script. The configure I used is;
./configure --prefix=/usr --sbindir=/sbin --sysconfdir=/etc --disable-werror
which did indeed discover gcc's -m32 switch and built a i386-pc target. Here
is what ldd shows about /sbin/grub-install;
linux-vdso.so.1 (0x00007fff73535000)
liblzma.so.5 => /lib/liblzma.so.5 (0x00007fc933ce8000)
libc.so.6 => /lib/libc.so.6 (0x00007fc933979000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fc93375e000)
/lib/ld-linux-x86-64.so.2 (0x00007fc933f08000)
Those are definetly 64-bit libs.
Life is good,
Maurice
... Don't cry for me I have vi.
--- GNU bash, version 4.3.30(1)-release (x86_64-atom-linux-gnu)
* Origin: Pointy Stick Society - Ladysmith BC, Canada (1:153/7001.0)
|