Subject: Re: cleaning up compiler.mk
To: None <tech-pkg@NetBSD.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 07/04/2004 14:16:19
--d6d1KVhp94hk3Jrm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Jul 04, 2004 at 02:32:34AM +0200, Klaus Heinz wrote:
> Thomas Klausner wrote:
>=20
> > Why would you want to force the pkgsrc version?
>=20
> bootstrap/README.{AIX,Solaris} says:
>=20
> If you are using gcc
> --------------------
> It makes life much simpler if you only use the same gcc consistently
> for building all packages.
>=20
> See http://www.netbsd.org/Documentation/software/packages.html for
> binary kits and initial packages, including gcc.
>=20
> It is recommended that an external gcc be used only for bootstrapping,
> then remove gcc and install the pkgsrc binary package.
>=20
> If I cannot remove the external gcc I need a way to prefer the gcc from
> pkgsrc.
unless your base system compiler is gcc >=3D3.3.4, this will do it (but
I realise it's not exactly what you want):
GCC_REQD+=3D3.3.4
grant.
--d6d1KVhp94hk3Jrm
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFA54STluYOb9yiFXoRApizAKCjpZk7JjVjFo++9+Xpor/nkvvnagCeJniM
azYDkk9/nc97bHbHuVuJYA4=
=HJV2
-----END PGP SIGNATURE-----
--d6d1KVhp94hk3Jrm--