View previous topic :: View next topic |
Author |
Message |
gijoe n00b
Joined: 12 Jun 2002 Posts: 8 Location: Borås, Sweden.
|
Posted: Tue Feb 11, 2003 11:04 am Post subject: New ebuilds and gcc 2.95.3 |
|
|
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 |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Feb 11, 2003 9:57 pm Post subject: |
|
|
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 |
|
|
peter_poulsen Guru
Joined: 12 Feb 2003 Posts: 387 Location: Denmark
|
Posted: Fri Feb 14, 2003 1:22 pm Post subject: Having a little trouble to get it working |
|
|
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 |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Fri Feb 14, 2003 3:42 pm Post subject: |
|
|
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. _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Fri Feb 14, 2003 8:26 pm Post subject: Re: Having a little trouble to get it working |
|
|
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 |
|
|
|