Date: Tue, 28 Feb 2006 10:19:11 +0200 From: Ruslan Ermilov <ru@freebsd.org> To: Alex Semenyaka <flist@jabberwock.rinet.ru> Cc: Yar Tikhiy <yar@comp.chem.msu.su>, hackers@freebsd.org Subject: Re: world's toolchain & CPUTYPE Message-ID: <20060228081911.GB42213@ip.net.ua> In-Reply-To: <20060228044520.GB35526@stupid.rinet.ru> References: <20060226155009.GB6435@comp.chem.msu.su> <20060226185721.GF42677@ip.net.ua> <20060228044520.GB35526@stupid.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 28, 2006 at 07:45:20AM +0300, Alex Semenyaka wrote: > On Sun, Feb 26, 2006 at 08:57:21PM +0200, Ruslan Ermilov wrote: > > More details: during the install, part of the toolchain and > > some special install tools that were built on the "build" > > host are used. They have been built using that host's > > toolchain, CFLAGS, libraries, etc., but libraries is the > > most important factor. That means that the "install" host > > should be CPU/syscall/etc. compatible with the "build" >=20 > Isn't is reasonable to add corresponding optional functionality > into the buld process? >=20 No. > For example, if -DSTATIC_TOOLCHAIN (or > pick any other name) is set, then: >=20 > 1) build toolchain statically linked >=20 This is already the case (${XMAKE} has -DNO_SHARED). > 2) use newly built libraries to link instead of libraries of > "build" host >=20 Impossible. The tools are built "to be run on the build host". (Some of them are also run on the install host, e.g. strip(1)). Also, you cannot link with new libraries before you built them, and these tools are needed to build the new libraries. > It does not look dangerous, and it will break nothing since > administrator will hav to take special action to turn it on. >=20 It's certainly dangerous. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEBAd/qRfpzJluFF4RAnOtAJ9R0q3cpuPwQR+xJYGCItb8IoA0GwCeKXTw 5oePesPDA+pWFegeUjvZ31U= =9BnG -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060228081911.GB42213>