gcc 4.3: when will it become standard compiler?
Eygene Ryabinkin
rea-fbsd at codelabs.ru
Sun Jan 11 01:17:34 PST 2009
Svein, good day.
Fri, Jan 09, 2009 at 11:23:24AM +0100, Svein Skogen (List Mail Account) wrote:
> Would it be possible, as a "workaround" to have "system-CC" and
> "ports-CC" defined in make.conf, making one CC the compiler for /usr/src
> and another for ports, or would this just create debugging nightmares?
Will the following additions to your make.conf suit you?
-----
.if ${.CURDIR:M/usr/src/*} || ${.CURDIR:M/usr/src}
CC = system-CC
.endif
.if ${.CURDIR:M/usr/ports/*} || ${.CURDIR:M/usr/ports}
CC = ports-CC
.endif
-----
--
Eygene
_ ___ _.--. #
\`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard
/ ' ` , __.--' # to read the on-line manual
)/' _/ \ `-_, / # while single-stepping the kernel.
`-'" `"\_ ,_.-;_.-\_ ', fsc/as #
_.-'_./ {_.' ; / # -- FreeBSD Developers handbook
{_.-``-' {_/ #
More information about the freebsd-current
mailing list