View Single Post
  #2   (View Single Post)  
Old 10th September 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Default

If you have multiple versions installed, the ports will generally select the one they prefer. You also must use the default gcc version to build the world and system. It won't work any other way. Some ports will build with different versions, but if you force matters, you can expect problems. Ports that require non-default gcc versions will list them as dependencies, install them, and build with them.

Having multiple gcc versions installed on a system is no problem: they all get installed with ddifferent suffixes (gcc44, etc), and the libraries keep themselves separately. I believe you can set the gcc version in /etc/make.conf (GCC?=gcc44, perhaps??), but I would not reccomend it.

(oh, most important: Give us your freebsd version (full uname -a output is reccomended.)
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote