Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] howto kgcc?
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: Mon Aug 21, 2006 8:43 am    Post subject: [SOLVED] howto kgcc? Reply with quote

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:
Code:
make vmlinux.32
?

/iMike


Last edited by iMike on Tue Aug 22, 2006 1:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Tue Aug 22, 2006 2:32 am    Post subject: Reply with quote

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
View user's profile Send private message
iMike
Apprentice
Apprentice


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

PostPosted: Tue Aug 22, 2006 1:23 pm    Post subject: Reply with quote

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
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