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 13:07:51 -0400
Greg Troxel <gdt%ir.bbn.com@localhost> wrote:

> Perhaps it would be better to have an error if the compiler pointed to
> by PKGSRC_COMPILER is not found.  I'm generally not a fan of trying to
> patch around misconfiguration, as it often seems to lead to more and
> more complexity.

Trying to compile gcc3-c when no compiler is found is doomed to fail.
Yes, that is a bug and a very old one that I would very much like to
see fixed. I like the idea of bombing here and prompting the user to
manually set PKGSRC_COMPILER (and perhaps mention that if applicable
one might also need to set GCCBASE, CC, CXX and USE_NATIVE_GCC).

-Tobias


Home | Main Index | Thread Index | Old Index