Date: Mon, 14 Jun 2010 00:58:12 +0200 From: Alexander Best <alexbestms@uni-muenster.de> To: Ed Schouten <ed@80386.nl> Cc: freebsd-current@freebsd.org Subject: Re: two buildworld problems Message-ID: <AANLkTinJUs_xoahBmllzr3SdNiz7aGxWAxHLhzIz-9dL@mail.gmail.com> In-Reply-To: <20100613214600.GH1797@hoeg.nl> References: <AANLkTinchxOQRJ8qsfS1VDcnALSi1L06dl8W4GMSj20b@mail.gmail.com> <20100613214600.GH1797@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 13, 2010 at 11:46 PM, Ed Schouten <ed@80386.nl> wrote: > 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. hmmm...but i thought during buildworld either empty(.CURDIR:M/usr/src/*) or empty(.CURDIR:M/usr/obj/*) should be false. so CC/CXX/CPP should never actually be set during buildworld or buildkernel. cheers. alex > >> 2. if i set >> >> CC=3Dcc (or clang) >> CXX=3Dc++ (or clang) >> CPP=3Dcpp (or clang) >> >> in src.conf >> >> 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++. thanks for the hint. i'll try and see if that works. > > -- > =A0Ed Schouten <ed@80386.nl> > =A0WWW: http://80386.nl/ > --=20 Alexander Best
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinJUs_xoahBmllzr3SdNiz7aGxWAxHLhzIz-9dL>