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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to