Re: two buildworld problems

From: Ed Schouten <ed_at_80386.nl>
Date: Sun, 13 Jun 2010 23:46:00 +0200
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.

> 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++.

-- 
 Ed Schouten <ed_at_80386.nl>
 WWW: http://80386.nl/

Received on Sun Jun 13 2010 - 19:46:01 UTC

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