two buildworld problems
Alexander Best
alexbestms at uni-muenster.de
Sun Jun 13 22:58:16 UTC 2010
On Sun, Jun 13, 2010 at 11:46 PM, Ed Schouten <ed at 80386.nl> wrote:
> Alexander,
>
> * Alexander Best <alexbestms at uni-muenster.de> wrote:
>> .if empty(.CURDIR:M/usr/src/*) && empty(.CURDIR:M/usr/obj/*) &&
>> exists(/usr/local/bin/gcc44)
>> CC = gcc44
>> CXX = g++44
>> CPP = 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=cc (or clang)
>> CXX=c++ (or clang)
>> CPP=cpp (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.
>
> --
> Ed Schouten <ed at 80386.nl>
> WWW: http://80386.nl/
>
--
Alexander Best
More information about the freebsd-current
mailing list