Dear all, I have build LFS and much of BLFS on my ancient 32bit machine. With a bit of tweaking, I have also got most of it to work on my new x86_64 machine. However, I do have a problem: I need xen virtualization. xen builds a BIOS using the dev86 package. This worked fine on i?86, but dev86 relies on a 32bit glibc, which is not available on a native x86_64 build. I have looked at xen package definitions for other distros, and they also seem to want dev86 at build-time. So, it seems I need a multilib LFS.
If I try to build gcc pass1 with --enable-multilib, I end up with: checking whether the gcc -m32 linker (ld -m elf_x86_64 -m elf_i386) supports shared libraries... yes checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make: *** [configure-zlib] Error 1 I tried to google this, and got a few hits, but nothing that enlightened me... I also tried to build binutils first with target x86_64 then i686, but gcc still fails. I have also looked a CLFS. They build a couple of packages before binutils and then gcc. But I cannot see any substantial differences in the gcc build itself... So: Any help / suggestions / info regarding LFS multilib would be most appreciated! I am new to multilib, so I a wondering about stuff like: - where in the toolchain building sequence should I target multilib? I tried pass 1, but maybe it would be enough to target multilib later? - what options should be used to configure the different packages at each phase? Thanks in advance! /Henrik -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
