Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New ebuilds and gcc 2.95.3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gijoe
n00b
n00b


Joined: 12 Jun 2002
Posts: 8
Location: Borås, Sweden.

PostPosted: Tue Feb 11, 2003 11:04 am    Post subject: New ebuilds and gcc 2.95.3 Reply with quote

Hello world,

I'm one of those people still using gcc 2.95.3, since I'm much to lazy recompiling my entire system with a newer version. However, new ebuilds seems to need gcc 3.2.x. First there was app-games/cube, and now there's x11-wm/icewm-1.2.3.

Is this a trend? Must I upgrade to gcc 3.2.x?
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Tue Feb 11, 2003 9:57 pm    Post subject: Reply with quote

I don't think you NEED to upgrade or to replace your current gcc version. You could however, install both of them as I have and just swicth before emerging certain ebuilds.

Hint: Use gcc-config --list-profiles after installing both to verify they are recognized.

Swicthing is easy as gcc-config i686-pc-linux-gnu-3.2.2 or i686-pc-linux-gnu-2.95.3. Then do env-update && source /etc/profile && emerge whatever

This makes it easy to swicth back and forth.

On another note, I think more and more ebuilds will start using the latest version. Why? Well, I'm sure the developers of the programs in question will start using new features in gcc 3.x.

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
peter_poulsen
Guru
Guru


Joined: 12 Feb 2003
Posts: 387
Location: Denmark

PostPosted: Fri Feb 14, 2003 1:22 pm    Post subject: Having a little trouble to get it working Reply with quote

Hi.

The following is a little conversation that I had with my computer. As I understand It hasn't switched the compiler. Does anybody know why?

localhost root # gcc --version
2.95.3
localhost root # gcc-config --get-current-profile
i686-pc-linux-gnu-2.95.3
localhost root # gcc-config i686-pc-linux-gnu-3.2.1
* Switching to i686-pc-linux-gnu-3.2.1 compiler... [ ok ]
localhost root # gcc-config --get-current-profile
i686-pc-linux-gnu-3.2.1
localhost root # env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...
localhost root # gcc --version
2.95.3
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Fri Feb 14, 2003 3:42 pm    Post subject: Reply with quote

That's not a very heartwarming conversation. I'll provide the obligatory like to Pitfalls of using GCC - 3.2.1-r6 where you'll be able to learn all you wanted to know about gcc 3.2.1 on gentoo and more. I don't remember reading that particular problem before though. :roll:
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Fri Feb 14, 2003 8:26 pm    Post subject: Re: Having a little trouble to get it working Reply with quote

peter_poulsen wrote:

localhost root # env-update && source /etc/profile

If you don't do: env-update, it will work fine. Just do source /etc/profile after using gcc-config.

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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