Changing GCC Default Version

 
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Installing Lunar
View previous topic :: View next topic  
Author Message
The X Reality



Joined: 17 Jan 2006
Posts: 9

PostPosted: Sun May 14, 2006 6:43 pm    Post subject: Changing GCC Default Version Reply with quote

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
View user's profile Send private message Send e-mail
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Tue May 16, 2006 3:35 pm    Post subject: default compiler Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Installing Lunar All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group