View previous topic :: View next topic |
Author |
Message |
iMike Apprentice

Joined: 01 Apr 2005 Posts: 217 Location: Stockholm, Sweden
|
Posted: Mon Aug 21, 2006 8:43 am Post subject: [SOLVED] howto kgcc? |
|
|
Hi all,
I see kgcc is in stable for MIPS now. I've got it and was thinking of upgrading from
sys-kernel/mips-sources-2.6.16.17-20060320 to
sys-kernel/mips-sources-2.6.16.27-20060320
Previously, with gcc-mips64 on my O2, I built a Kernel using:
Code: |
make vmlinux.32 CROSS_COMPILE=mips64-unknown-linux-gnu-
|
Since gcc-config -l now lists kgcc as the cross-compiler (apparently what the blue star on mips64-unknown-linux-gnu-3.4.6 means)
[code
l# gcc-config -l
[1] mips-unknown-linux-gnu-3.4.6 *
[2] mips-unknown-linux-gnu-3.4.6-hardenednopiessp
[3] mips64-unknown-linux-gnu-3.4.6 *
[/code]
should one simply do a:
?
/iMike
Last edited by iMike on Tue Aug 22, 2006 1:24 pm; edited 1 time in total |
|
Back to top |
|
 |
Redhatter Retired Dev


Joined: 20 Sep 2003 Posts: 548 Location: Brisbane, QLD, Australia
|
Posted: Tue Aug 22, 2006 2:32 am Post subject: |
|
|
Nope, you use it exactly the same as gcc-mips64. _________________ Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...
Gentoo/MIPS Cobalt developer, Mozilla herd member. |
|
Back to top |
|
 |
iMike Apprentice

Joined: 01 Apr 2005 Posts: 217 Location: Stockholm, Sweden
|
Posted: Tue Aug 22, 2006 1:23 pm Post subject: |
|
|
Yes, you are quite right. I followed exactly the same commands for building the Kernel as I did under gcc-mips64 (non-kgcc version) and it worked with mips-sources-2.6.16.27-20060320. I'm now running 2.6.16.27 built via kgcc.
Thanks!
/iMike |
|
Back to top |
|
 |
|