On 11/25/06, Michael Sullivan <[EMAIL PROTECTED]> wrote:
I'm trying to cross-compile gcc-4.1.1-r1 for my slow i586 on my fast
i686 with the command

ROOT=/usr/local/portage/bullet/ CHOST="i586-pc-linux-gnu" emerge -B
=sys-devel/gcc-4.1.1-r1.

Assuming you have a few Gb of disk space available, I would recommend
setting up a full chroot build environment.  The 32-bit chroot guide
for amd64 [1] gives all the steps you need, and should work just as
well for an i586 chroot on i686.  You just won't need to worry about
the linux32 command.

[1] http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2

-Richard
--
gentoo-user@gentoo.org mailing list

Reply via email to