Date: Thu, 22 Mar 2007 12:06:02 -0700 From: Chuck Swiger <cswiger@mac.com> To: White Hat <pigskin_referee@yahoo.com> Cc: FreeBSD Users Questions <freebsd-questions@freebsd.org> Subject: Re: Updating GCC Message-ID: <EDAEA784-8194-4EB3-8E59-852B5C75267B@mac.com> In-Reply-To: <291828.60547.qm@web34401.mail.mud.yahoo.com> References: <291828.60547.qm@web34401.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 22, 2007, at 11:55 AM, White Hat wrote: > The installed version is gcc-3.4.6, while the ports > have version 4.3.0 available. If I install the newer > version will it replace the older version? Nope. > If not and I don't think it will, how do I force the use of the > newer version of Gcc when making a port? Add: CC?= /usr/local/bin/gcc CXX?= /usr/local/bin/g++ ...to /etc/make.conf. You might also find looking at /usr/ports/Mk/ bsd.gcc.mk to be informative... -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EDAEA784-8194-4EB3-8E59-852B5C75267B>