From owner-freebsd-current@FreeBSD.ORG Sun Jun 13 21:46:01 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED3E31065676 for ; Sun, 13 Jun 2010 21:46:01 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2001:4dd0:ff41::b23f:aa]) by mx1.freebsd.org (Postfix) with ESMTP id ABEF48FC08 for ; Sun, 13 Jun 2010 21:46:01 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 8CCF52A290C1; Sun, 13 Jun 2010 23:46:00 +0200 (CEST) Date: Sun, 13 Jun 2010 23:46:00 +0200 From: Ed Schouten To: Alexander Best Message-ID: <20100613214600.GH1797@hoeg.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dMyqICaxQaaUjrCL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@FreeBSD.org Subject: Re: two buildworld problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2010 21:46:02 -0000 --dMyqICaxQaaUjrCL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Alexander, * Alexander Best wrote: > .if empty(.CURDIR:M/usr/src/*) && empty(.CURDIR:M/usr/obj/*) && > exists(/usr/local/bin/gcc44) > CC =3D gcc44 > CXX =3D g++44 > CPP =3D cpp44 > .endif Try /usr/local/bin/gcc44. The FreeBSD build infrastructure overrides PATH to prevent accidental use of local tools. > 2. if i set >=20 > CC=3Dcc (or clang) > CXX=3Dc++ (or clang) > CPP=3Dcpp (or clang) >=20 > in src.conf >=20 > buildworld fails with this error: I can't say what's going on here, but keep in mind that you shouldn't set CXX to clang, but clang++. --=20 Ed Schouten WWW: http://80386.nl/ --dMyqICaxQaaUjrCL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwVUZgACgkQ52SDGA2eCwWL4ACfVTPzUcWvTP792ZKjz+Xxx6ks zPkAn2//6mzMDJj/NfSd3vtrX1WmGoVA =wn8Q -----END PGP SIGNATURE----- --dMyqICaxQaaUjrCL--