Re: newbie question on upgrading GCC

2006-04-11 Thread Chuck Swiger
Jim Stapleton wrote: [ ... ] When it comes to changing the default compiler a good rule of thumb is that if you need to ask how to do it, then you should not do it. That seems to be a general *nix world rule of thumb for just about everything... The UNIX world is willing to give you a loaded

Re: newbie question on upgrading GCC

2006-04-10 Thread Erik Trulsson
On Mon, Apr 10, 2006 at 10:43:51AM -0400, Jim Stapleton wrote: I did a make install clean in the lang/gcc40/ directory to get a newer version of GCC, and it seems happy, so the next thing I did was I replaced my /usr/bin/gcc, /usr/bin/g++, etc. binaries with hard links to the

Re: newbie question on upgrading GCC

2006-04-10 Thread Jim Stapleton
how do I setup make.conf to automatically use the new compiler? Is there any way to set this new compiler as the default (such as building the OS), without causing issues? Or would that be just a royal pain in the posterior that is not worth the effort? On 4/10/06, Erik Trulsson [EMAIL

Re: newbie question on upgrading GCC

2006-04-10 Thread Erik Trulsson
On Mon, Apr 10, 2006 at 11:01:21AM -0400, Jim Stapleton wrote: how do I setup make.conf to automatically use the new compiler? Don't. But if you insist on doing that you could try putting CC=/usr/local/bin/gcc40 CXX=/usr/local/bin/g++40 into /etc/make.conf. Just be aware that it will

Re: newbie question on upgrading GCC

2006-04-10 Thread Jim Stapleton
When it comes to changing the default compiler a good rule of thumb is that if you need to ask how to do it, then you should not do it. That seems to be a general *nix world rule of thumb for just about everything... ___

Re: newbie question on upgrading GCC

2006-04-10 Thread RW
On Monday 10 April 2006 16:01, Jim Stapleton wrote: how do I setup make.conf to automatically use the new compiler? Is there any way to set this new compiler as the default (such as building the OS), without causing issues? Or would that be just a royal pain in the posterior that is not worth