grub-0.97 compile issues

Ken Moffat ken at
Tue Nov 1 13:59:50 PST 2005

On Tue, 1 Nov 2005, Stan Sander wrote:

> No, I'm not TRYING to build a pure64.  I must have taken a wrong turn 
> somewhere.  What I was trying for was 32 and 64 bit, which I thought was 
> x86_64-pc. 
> siren /cross-tools/bin >file x86_64-pc-linux-gnu-objcopy
> x86_64-pc-linux-gnu-objcopy: ELF 32-bit LSB executable, Intel 80386, version 
> 1, dynamically linked (uses shared libs), not stripped
> /tools/bin >file cmp
> cmp: ELF 64-bit LSB executable, version 1, dynamically linked (uses shared 
> libs), not stripped
> siren /lfs/sources/grub-0.97 >echo $LFS_HOST
> i686-pc-linux-gnu
> siren /lfs/sources/grub-0.97 >echo $LFS_TARGET
> x86_64-pc-linux-gnu
> So, my $LFS_TARGET is obviously wrong for what I want to do.  What should I 
> set it to? 
  Your target is fine (multilib and pure64 are identical for that).

  The problem is that you don't seem to have a 32-bit toolchain. But, 
your current toolchain should have been used in 6.18 to build a 32-bit 
ncurses, and if it couldn't do -m32 it would have barfed there.  Is 
your PATH still correct ?

  das eine Mal als Tragödie, das andere Mal als Farce

More information about the cross-lfs mailing list