View previous topic :: View next topic |
Author |
Message |
The X Reality
Joined: 17 Jan 2006 Posts: 9
|
Posted: Sun May 14, 2006 6:43 pm Post subject: Changing GCC Default Version |
|
|
I've installed GCC 4.0.3, and have switched the default. Is this all I need to do? The fact that `gcc --version' still outputs information about version 3.4.5 concerns me. |
|
Back to top |
|
 |
sofar

Joined: 11 Aug 2005 Posts: 172
|
Posted: Tue May 16, 2006 3:35 pm Post subject: default compiler |
|
|
changing the default compiler in lunar only changes it for lunar compiles, and some modules might not even pick up the alternative compiler too and refrain from using e.g. gcc4.
This is intentional - it is uncertain how a mixed base system behaves when compiled with different compilers.
As user, you can add the PATH to the different compiler to set it the default for user compiles. |
|
Back to top |
|
 |
|