On Sun, Jun 13, 2010 at 11:46 PM, Ed Schouten <[email protected]> wrote: > Alexander, > > * Alexander Best <[email protected]> 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 <[email protected]> > WWW: http://80386.nl/ > -- Alexander Best _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[email protected]"
