Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2010 10:39:14 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Julian Elischer <julian@freebsd.org>
Cc:        rank1seeker@gmail.com, freebsd-hackers@freebsd.org, Garrett Cooper <gcooper@freebsd.org>
Subject:   Re: Unhappy with cross-worlding
Message-ID:  <86sjz18v5p.fsf@ds4.des.no>
In-Reply-To: <4CE22182.7090008@freebsd.org> (Julian Elischer's message of "Mon, 15 Nov 2010 22:15:30 -0800")
References:  <4CA4C63F.4070503@icyb.net.ua> <20101116.022422.921.1@DEV> <AANLkTikj5fmg08Vy-SfA-Hax2XwtJCKpRAWmVEytWghL@mail.gmail.com> <4CE22182.7090008@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer <julian@freebsd.org> writes:
> Garrett Cooper <gcooper@freebsd.org>
> > But yes, building amd64 on i386 probably won't work too well :)...
> It's supposed to  but hasn't for years.

Umm, what do you mean?

You can cross-build world and kernel with TARGET=3Damd64 (this is what the
tinderbox and 'make universe' do), then install the kernel, reboot into
single-user mode, and install world.  Some things won't work properly
until you've built and installed world a second time, but nothing
important AFAIK.

You may have to copy /libexec/ld-elf.so.1 to /libexec/ld-elf32.so.1
before you reboot - it used to be necessary, but ISTR someone hacked
around it to make it easier to run 32-bit chroots on amd64.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86sjz18v5p.fsf>