View previous topic :: View next topic |
Author |
Message |
rew n00b
Joined: 28 Aug 2002 Posts: 47 Location: Oregon
|
Posted: Sat Sep 14, 2002 1:42 am Post subject: /usr/bin/gcc-3.2 |
|
|
so here is the issue, i just got done with a emerge world after moving /etc/make.profile to /usr/portage/profiles/default-x86-1.4 or whatever it is (the 1.4 x86 profile) but i have this problem is that /usr/bin/gcc is still 2.95.3 but now there is /usr/bin/gcc-3.2 (which is infact 3.2). when i try to merge something like OpenOffice that requires a 3.x gcc ebuild (or maybe make?) finds 2.95.3 instead of the newer version. what i want to know is: how do i get rid of the 2.95.3 (if i can) and replace it (i mean flat out replacement) witht he newer 3.2? - thanks _________________ linux-2.4.20 i686 SMP
Tyan Tiger MP
Dual Athlon MP 1600+
512MB EEC (1/4)
PNY Verto 64MB - GeForce4 MX 420
'Cheep-ass NIC, CDRW & DVD' |
|
Back to top |
|
|
Pindrop Apprentice
Joined: 09 Jul 2002 Posts: 165 Location: Virginia, USA
|
Posted: Sat Sep 14, 2002 2:15 am Post subject: |
|
|
emerge clean |
|
Back to top |
|
|
rew n00b
Joined: 28 Aug 2002 Posts: 47 Location: Oregon
|
Posted: Sat Sep 14, 2002 2:26 am Post subject: emerge clean didnt do it |
|
|
emerge clean didnt work, sorry i forgot to tell you this earlier. yeah i tried that right after i rtfm :-), or at least, read part of it
[root /etc]$ emerge clean gcc
sys-devel/gcc
selected: none
protected: 2.95.3-r5 2.95.3-r7 3.2-r1
omitted: none
>>> clean: No packages selected for removal. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20054
|
Posted: Sat Sep 14, 2002 3:24 am Post subject: |
|
|
Does 'emerge unmerge gcc-2.95.3-r5' remove it? If so, does 'emerge -pu world' want to reinstall it? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
rew n00b
Joined: 28 Aug 2002 Posts: 47 Location: Oregon
|
Posted: Sat Sep 14, 2002 3:55 am Post subject: gcc is gone |
|
|
yes, but now i have no /usr/bin/gcc so how am i suppose to? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Sep 14, 2002 4:05 am Post subject: |
|
|
Does adding CC="gcc-3.2" and CXX="g++-3.2" to your /etc/make.conf help anything? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
rew n00b
Joined: 28 Aug 2002 Posts: 47 Location: Oregon
|
Posted: Sat Sep 14, 2002 4:21 am Post subject: yep, works now |
|
|
yep, works now, thanks rac. should i still reinstall gcc? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Sep 14, 2002 4:27 am Post subject: Re: yep, works now |
|
|
rew wrote: | should i still reinstall gcc? |
Tough call. Do you still want 2.95.3 as your main compiler? As long as you have those variables defined in your make.conf, most (not all) software should respect it, but it's up to you if you want 2.95.3 back. I'm not sure, but I think if you remerge GCC 3.2 now, with 2.95.3 completely out of your system, 3.2 will be installed as your default compiler. I have not upgraded 2.95.3 to 3.2 in place, though, so you should read the GCC 3.2 upgrade thread, and don't feel afraid to ask questions there before you do anything drastic. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
rew n00b
Joined: 28 Aug 2002 Posts: 47 Location: Oregon
|
Posted: Sat Sep 14, 2002 5:07 am Post subject: k, thanks rac |
|
|
its a little late to stop me from doing anything rash. :-) oh well, i think i might keep the 2.95.3 version on there just in case :-)
that is, if i can install it again :-) |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Sat Sep 14, 2002 3:33 pm Post subject: two gccs |
|
|
I think you can rename gcc-3.2 and g++-3.2 to gcc and g++ without problems.... |
|
Back to top |
|
|
|