two buildworld problems

Ed Schouten ed at 80386.nl
Sun Jun 13 21:46:02 UTC 2010


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100613/3da9d985/attachment.pgp


More information about the freebsd-current mailing list