Re: two buildworld problems

From: Alexander Best <alexbestms_at_uni-muenster.de>
Date: Mon, 14 Jun 2010 00:58:12 +0200
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
Received on Sun Jun 13 2010 - 20:58:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC