Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jun 2010 23:19:56 +0300
From:      =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= <hinokind@gmail.com>
To:        soc-status@freebsd.org
Subject:   Making ports work with clang, report #2
Message-ID:  <op.vdzz3hqp43o42p@klevas>

next in thread | raw e-mail | index | archive | help
I'm [still] working on creating an easy way to change ports compiler without
breaking too much stuff. http://wiki.freebsd.org/SOC2010AndriusMorkunas

Last week I've written a patch for bsd.port.mk that allows to set ports
compiler by defining PORTS_CC in make.conf. I intend to handle newer gcc
versions properly, but right now anything other than "gcc" or "clang"
will probably break something or will not work as intended.
I've also implemented USE_CC, which should replace USE_GCC at least for
some ports.

This week will probably be spent by trying to get support for other gcc
versions, handling the situation when clang is not installed, and some
other edge cases that will cause problems when users try to do something
crazy with PORTS_CC and/or PORTS_CXX.

-- 
Andrius



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.vdzz3hqp43o42p>