Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Upgrading kgcc64 to 4.1.1 (blue star)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 208
Location: Stockholm, Sweden

PostPosted: Fri Sep 15, 2006 2:45 pm    Post subject: [SOLVED] Upgrading kgcc64 to 4.1.1 (blue star) Reply with quote

I recently upgraded my SGI O2s to gcc-4.1.1 following the upgrade guide. All went smoothly, and I ended up with
Code:
huey ~ # gcc-config -l
 [1] mips-unknown-linux-gnu-3.4.6
 [2] mips-unknown-linux-gnu-3.4.6-hardenednopiessp
 [3] mips-unknown-linux-gnu-4.1.1 *  (* is green)
 [4] mips64-unknown-linux-gnu-3.4.6 * (* is blue)
 [5] mips64-unknown-linux-gnu-4.1.1
huey ~ # eix kgcc
[I] sys-devel/kgcc64
     Available versions:
        (x86_64-pc-linux-gnu-3.4)       3.4.6
        (x86_64-pc-linux-gnu-4.1)       4.1.1
     Installed:           3.4.6(x86_64-pc-linux-gnu-3.4) 4.1.1(x86_64-pc-linux-gnu-4.1)
     Homepage:            http://gcc.gnu.org/
     Description:         64bit kernel compiler

Doing emerge -aC =sys-devel/gcc-3.4* gets rid of gcc-3.4.6, but is there some secret option to gcc-config to move the blue dot to mips64-unknown-linux-gnu-4 before unmerging it? I didn't find a kgcc-config around. I just want to make sure the system knows where the cross compiler is at. Perhaps the little "*" do.

Best regards,
/iMike


Last edited by iMike on Sun Sep 17, 2006 4:33 pm; edited 2 times in total
Back to top
View user's profile Send private message
SpanKY
Developer
Developer


Joined: 18 Apr 2002
Posts: 321
Location: Worcester, MA

PostPosted: Sat Sep 16, 2006 8:27 am    Post subject: Reply with quote

green dot = active native compiler
blue dot = active cross-compiler

you use `gcc-config` to select active for any compiler

you still have two kgcc versions installed
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 208
Location: Stockholm, Sweden

PostPosted: Sun Sep 17, 2006 4:34 pm    Post subject: Reply with quote

Thanks for the tip. It worked fine. I just did gcc-config to select the cross compiler and then got rid of the 3.4 version:
Code:

gcc-config mips64-unknown-linux-gnu-4.1.1
emerge -aC =sys-devel/kgcc64-3.4*

so now I just have the two 4.1.1 compilers:
Code:

louie ~ # gcc-config -l
 [1] mips-unknown-linux-gnu-4.1.1 *
 [2] mips64-unknown-linux-gnu-4.1.1 *
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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