Date: Wed, 1 Mar 2006 10:02:52 +0200 From: Ruslan Ermilov <ru@freebsd.org> To: Alex Semenyaka <flist@snark.rinet.ru> Cc: hackers@freebsd.org Subject: Re: world's toolchain & CPUTYPE Message-ID: <20060301080252.GA29183@ip.net.ua> In-Reply-To: <20060301030226.GA48831@snark.rinet.ru> References: <20060226155009.GB6435@comp.chem.msu.su> <20060226185721.GF42677@ip.net.ua> <20060228044520.GB35526@stupid.rinet.ru> <20060228081911.GB42213@ip.net.ua> <20060301030226.GA48831@snark.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 01, 2006 at 06:02:26AM +0300, Alex Semenyaka wrote: > On Tue, Feb 28, 2006 at 10:19:11AM +0200, Ruslan Ermilov wrote: > > > Isn't is reasonable to add corresponding optional functionality > > > into the buld process? > > No. >=20 > Why? :) >=20 I think I've explained this in the non-quoted here part. > > > For example, if -DSTATIC_TOOLCHAIN (or > > > pick any other name) is set, then: > > > 1) build toolchain statically linked > > This is already the case (${XMAKE} has -DNO_SHARED). >=20 > Oh, great. Could we also add -DNO_MAKE_CONF then? > Or at least -DTOOLCHAIN_NO_MAKE_CONF :) > That's would be enough. Or do I miss something? >=20 What problem are you trying to attack, I fail to see? -DNO_CPU_CFLAGS is already there, if that's what you mean: BMAKE=3D MAKEOBJDIRPREFIX=3D${WORLDTMP} \ ${BMAKEENV} ${MAKE} -f Makefile.inc1 \ DESTDIR=3D \ BOOTSTRAPPING=3D${OSRELDATE} \ -DNO_HTML -DNO_INFO -DNO_LINT -DNO_MAN -DNO_NLS -DNO_PIC \ -DNO_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS ^^^^^^^^^^^^^^^ XMAKE=3D TOOLS_PREFIX=3D${WORLDTMP} ${BMAKE} -DNO_FORTRAN -DNO_GDB ^^^^^^^^ =2E.. and has the following effect: $ make -V CFLAGS CPUTYPE=3Dopteron=20 -O2 -fno-strict-aliasing -pipe -march=3Dopteron $ make -V CFLAGS CPUTYPE=3Dopteron -DNO_CPU_CFLAGS -O2 -fno-strict-aliasing -pipe But it doesn't really matter since building host's libraries that ARE used to build toolchain might have been built using optimized CFLAGS. See other posts where people go into more details what should be the conditions to allow NFS-mounted src/ installs. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEBVUsqRfpzJluFF4RAgdPAJ9dc549CXadWb3tV3i9Zk1XC5Xh+ACfYCv2 mO14TX0UC+Eq3fivBjwiCc8= =ABTn -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060301080252.GA29183>