tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: defaulting to clang on FreeBSD 10.x



On Sun, 22 Mar 2015, rodent%NetBSD.org@localhost wrote:

On Sun, Mar 22, 2015 at 12:33:01PM -0400, Greg Troxel wrote:

I am not quite following this.

Are you saying that if you run bootstrap on FreeBSD 10, you get a
$PREFIX/etc/mk.conf that sets PKGSRC_COMPILER to clang, and then
everything is ok, but if the user takes that line out, then it tries gcc
and fails?

Yes, sir. And it should fail in as few cases as possible, even if the user is
doing something stupid. That is what i'm proposing to patch.

Based on your previous mail, i would suggest applying a similar patch to the
Darwin.mk starting with whatever version they stopped shipping gcc in base.

No, if the user wants to use gcc, the user should be able to use gcc.

--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee


Home | Main Index | Thread Index | Old Index