From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 1 08:14:49 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F3C416A420 for ; Wed, 1 Mar 2006 08:14:49 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B61843D79 for ; Wed, 1 Mar 2006 08:14:30 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k218DfiV037409; Wed, 1 Mar 2006 10:13:41 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 18715-01; Wed, 1 Mar 2006 10:13:14 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k218AVGJ037297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Mar 2006 10:10:32 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k218AgkW029467; Wed, 1 Mar 2006 10:10:42 +0200 (EET) (envelope-from ru) Date: Wed, 1 Mar 2006 10:10:42 +0200 From: Ruslan Ermilov To: Yar Tikhiy Message-ID: <20060301081042.GB29183@ip.net.ua> References: <20060226155009.GB6435@comp.chem.msu.su> <20060226185721.GF42677@ip.net.ua> <20060227.000317.123334621.imp@bsdimp.com> <20060227101502.GJ6435@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline In-Reply-To: <20060227101502.GJ6435@comp.chem.msu.su> User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at ip.net.ua Cc: hackers@freebsd.org Subject: Re: world's toolchain & CPUTYPE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 08:14:49 -0000 --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--