Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 2010 23:46:00 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Alexander Best <alexbestms@uni-muenster.de>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: two buildworld problems
Message-ID:  <20100613214600.GH1797@hoeg.nl>
In-Reply-To: <AANLkTinchxOQRJ8qsfS1VDcnALSi1L06dl8W4GMSj20b@mail.gmail.com>
References:  <AANLkTinchxOQRJ8qsfS1VDcnALSi1L06dl8W4GMSj20b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--dMyqICaxQaaUjrCL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alexander,

* Alexander Best <alexbestms@uni-muenster.de> 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 <ed@80386.nl>
 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100613214600.GH1797>