* Konstantin Demin:

> grub-pc and gcc-multilib: grub-pc doesn't depend on gcc-multilib (or
> I've missed something?). Furthermore, neither grub-pc nor gcc-multilib
> require packages from foreign architecture, e.g. no i386 packages are
> required if you're on amd64.

How do you build -m32 support into GCC without installing any i386 glibc
packages?

In Fedora, we have a magic glibc32 package for that, which is built on
x86-64, but provides i386 binaries.  This is then used to define the
required ABI during the GCC build.  I understand that grub-pc wouldn't
use this ABI, but as far as I know, there is no way to build GCC in such
a way that that it targets x86_64-linux-gnu by default (with -m64), and
i386-none-elf with -m32.  Except by building it twice and installing it
into different locations.

Thanks,
Florian

Reply via email to