View previous topic :: View next topic |
Author |
Message |
iMike Apprentice
Joined: 01 Apr 2005 Posts: 217 Location: Stockholm, Sweden
|
Posted: Fri Sep 15, 2006 2:45 pm Post subject: [SOLVED] Upgrading kgcc64 to 4.1.1 (blue star) |
|
|
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 |
|
|
SpanKY Developer
Joined: 18 Apr 2002 Posts: 321 Location: Somerville, MA
|
Posted: Sat Sep 16, 2006 8:27 am Post subject: |
|
|
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 |
|
|
iMike Apprentice
Joined: 01 Apr 2005 Posts: 217 Location: Stockholm, Sweden
|
Posted: Sun Sep 17, 2006 4:34 pm Post subject: |
|
|
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 |
|
|
|