Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2006 10:10:42 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Yar Tikhiy <yar@comp.chem.msu.su>
Cc:        hackers@freebsd.org
Subject:   Re: world's toolchain & CPUTYPE
Message-ID:  <20060301081042.GB29183@ip.net.ua>
In-Reply-To: <20060227101502.GJ6435@comp.chem.msu.su>
References:  <20060226155009.GB6435@comp.chem.msu.su> <20060226185721.GF42677@ip.net.ua> <20060227.000317.123334621.imp@bsdimp.com> <20060227101502.GJ6435@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help

--DBIVS5p969aUjpLe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 27, 2006 at 01:15:02PM +0300, Yar Tikhiy wrote:
> > What's really fun is tricking the build system so you can cross build
> > on one system, but native install on another from the same tree...
>=20
> I wondered, too, if it would be possible to cross-build install
> tools so that they could run on the target system, but I haven't
> investigated this way yet.  Do you have any ideas/recipes?  Thanks!
>=20
Well, the tools you want were already built, for the target host.
But you might not be able to install and run them (they may require
a new syscall, some new shared libraries, etc.).  The tools that
you intend to run on host "I" during the install should either be
compiled on this host (using its libraries, preferably statically
linked), or on a compatible host in a compatible build environment.
So it all depends on how similar the hosts "B" and "I" and their
build environments are.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--DBIVS5p969aUjpLe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFEBVcCqRfpzJluFF4RAhWGAJwKHWyRTbTk2J0zj26HxvsuKxA48wCeLrCz
zDOp0nnEC0x6XsMFMaIu0CM=
=7g7z
-----END PGP SIGNATURE-----

--DBIVS5p969aUjpLe--



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