[ANNOUNCE]: clang compiling ports, take 2

Matthias Andree mandree at FreeBSD.org
Sun Sep 4 10:24:34 UTC 2011


Am 04.09.2011 10:48, schrieb Mark Linimon:
> On Sun, Sep 04, 2011 at 05:09:05AM +0200, Gerald Pfeifer wrote:
>> Can you advise which value of __FreeBSD_version to use?  The official
>> list at
>>   http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/freebsd-versions.html
>> does not have a reference from what I can see.
> 
> There is no version of FreeBSD that has the gcc build turned off AFAIK.
> Nor is there one where cc is clang by default; again AFAIK.
> 
> You can, of course, create a userland that has clang but not gcc if
> you manually configure it.
> 
> Please someone correct me if I am wrong.

Basically USE_GCC=4.2+ was trying to sidestep clang issues in my ports
in the -exp runs, and in this situation, USE_GCC=4.2+ was not installing
gcc.

How do I do that?


More information about the freebsd-ports mailing list